Commit 984dfaa7 authored by Kjartan's avatar Kjartan

- fixed a bug in module_invoke_all , it will now also add 0's to the result

  array. Thanks Moshe.
parent 564574ba
...@@ -29,7 +29,7 @@ function error_handler($errno, $message, $filename, $line, $variables) { ...@@ -29,7 +29,7 @@ function error_handler($errno, $message, $filename, $line, $variables) {
$entry = $types[$errno] .": $message in $filename on line $line."; $entry = $types[$errno] .": $message in $filename on line $line.";
if (($errno == 1 || $errno == 2 || $errno == 4 || $errno == 256) && error_reporting()) { if (($errno == 1 || $errno == 2 || $errno == 4 || $errno == 256) && error_reporting()) {
watchdog("error", $types[$errno] .": $message in $filename on line $line."); watchdog("error", $types[$errno] .": $message in $filename on line $line.");
print $entry; print "<pre>$entry</pre>";
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment