projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27a98dd
)
Show correct error message when running CLI scripts.
author
Jan Schneider
<jan@horde.org>
Thu, 20 Jan 2011 18:32:16 +0000
(19:32 +0100)
committer
Jan Schneider
<jan@horde.org>
Fri, 21 Jan 2011 13:31:32 +0000
(14:31 +0100)
framework/Core/lib/Horde/Registry.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Registry.php
b/framework/Core/lib/Horde/Registry.php
index
8a9fc55
..
23b71c0
100644
(file)
--- a/
framework/Core/lib/Horde/Registry.php
+++ b/
framework/Core/lib/Horde/Registry.php
@@
-1775,7
+1775,7
@@
class Horde_Registry
{
if (Horde_Cli::runningFromCLI()) {
$cli = new Horde_Cli();
- $cli->fatal(Horde_Core_Translation::t("You are not authenticated."));
+ $cli->fatal(
$e ? $e :
Horde_Core_Translation::t("You are not authenticated."));
}
if (is_null($e)) {