1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-26 15:54:43 +02:00

Search config minor changes to spec.

This commit is contained in:
Cameron
2014-01-13 11:07:02 -08:00
parent dad25394fe
commit 1fc86ddd51
4 changed files with 32 additions and 16 deletions

View File

@@ -546,7 +546,8 @@ class e_admin_log
{
if(empty($text))
{
e107::getMessage()->addDebug("Log Message was empty: ".print_a(debug_backtrace(true)),true);
$bt = debug_backtrace(true);
e107::getMessage()->addDebug("Log Message was empty: ".print_a($bt[1],true));
return $this; // changing to text will break chained methods.
}
if(!$type) $type = E_MESSAGE_INFO;
@@ -660,7 +661,7 @@ class e_admin_log
{
$text = $array;
}
return $this->logMessage($text, $type, $type, $session);
}