summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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');