summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2013-08-19 18:56:18 +0200
committerAndrey Andreev <narf@devilix.net>2013-08-19 18:56:18 +0200
commit49890a95da8438910b6f6b8da43ec5e5cd10f53c (patch)
treeb76f40772002cfa294595556a063e417a784c044 /system
parent1bd299182fa20ee7b94805e7f27affcf9a166d92 (diff)
Kill the damn kitten
Diffstat (limited to 'system')
-rw-r--r--system/core/Common.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index cf9cd846d..7f296b133 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -224,7 +224,7 @@ if ( ! function_exists('get_config'))
* @param array
* @return array
*/
- function &get_config(array $replace = array())
+ function &get_config(Array $replace = array())
{
static $_config;
@@ -436,7 +436,7 @@ if ( ! function_exists('log_message'))
{
static $_log;
- if (empty($_log))
+ if ($_log === NULL)
{
// references cannot be directly assigned to static variables, so we use an array
$_log[0] =& load_class('Log', 'core');