From 237dc0e3a5775762b8eff6f0bd2debef745c1fe6 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Fri, 7 Mar 2014 12:50:48 +0000 Subject: [PATCH] Fix error reporting --- src/do_actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/do_actions.php b/src/do_actions.php index 885ad958..a5cb3076 100644 --- a/src/do_actions.php +++ b/src/do_actions.php @@ -175,7 +175,7 @@ while ($rr=$action->get_action()){ // Get the error (if exists). if(isset($output[0])){ $return=$output[0]; - $error_raise.="Action n°".$r["id"]." '".$r["type"]."' failed! With user: ".$r["user"]."\nHere is the complete output:\n".print_r($output); + $error_raise.="\nAction n°".$r["id"]." '".$r["type"]."' failed! With user: ".$r["user"]."\nHere is the complete output:\n".print_r($output); } // We finished the action, notify the DB. d("Finishing... return value is : $return\n");