mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
fixing alteration message to output plaintext if executed via cli
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@74337 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
2199a581e1
commit
1bd388ee92
@ -575,7 +575,7 @@ abstract class Database extends Object {
|
|||||||
default:
|
default:
|
||||||
$color="";
|
$color="";
|
||||||
}
|
}
|
||||||
echo "<li style=\"color: $color\">$message</li>";
|
echo (Director::is_cli()) ? " * ".strip_tags($message)."\n" : "<li style=\"color: $color\">$message</li>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user