summaryrefslogtreecommitdiffstats
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
parent1bd299182fa20ee7b94805e7f27affcf9a166d92 (diff)
Kill the damn kitten
-rw-r--r--application/config/user_agents.php2
-rw-r--r--system/core/Common.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/application/config/user_agents.php b/application/config/user_agents.php
index bb135164f..5887a15be 100644
--- a/application/config/user_agents.php
+++ b/application/config/user_agents.php
@@ -222,4 +222,4 @@ $robots = array(
);
/* End of file user_agents.php */
-/* Location: ./application/config/user_agents.php */
+/* Location: ./application/config/user_agents.php */ \ No newline at end of file
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');