[geeklog-hg] geeklog: Fixed to prevent a potential warning
    geeklog-cvs at lists.geeklog.net 
    geeklog-cvs at lists.geeklog.net
       
    Fri Mar 29 07:01:27 EDT 2013
    
    
  
changeset 9019:8ddae3532731
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/8ddae3532731
user: Kenji ITO <mystralkk at gmail.com>
date: Fri Mar 29 20:01:04 2013 +0900
description:
Fixed to prevent a potential warning
diffstat:
 system/databases/mysqli.class.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 2ce92bf80b79 -r 8ddae3532731 system/databases/mysqli.class.php
--- a/system/databases/mysqli.class.php	Tue Mar 26 17:09:00 2013 -0400
+++ b/system/databases/mysqli.class.php	Fri Mar 29 20:01:04 2013 +0900
@@ -540,7 +540,7 @@
         }
 
         // return only if recordset exists, otherwise 0
-        if (strcasecmp(get_class($recordset), 'MySQLi_Result') === 0) {
+        if (strcasecmp(@get_class($recordset), 'MySQLi_Result') === 0) {
             if ($this->_verbose) {
                 $this->_errorlog('got ' . $recordset->num_rows . ' rows');
                 $this->_errorlog("\n*** Inside database->dbNumRows ***");
    
    
More information about the geeklog-cvs
mailing list