another warning fix- please review the mamcached changes, i'm not 100% sure they...
authorGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 22 Apr 2004 12:02:02 +0000 (12:02 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 22 Apr 2004 12:02:02 +0000 (12:02 +0000)
includes/memcached-client.php

index d3d7d70..934ca76 100644 (file)
@@ -390,7 +390,7 @@ class memcached
          foreach ($val as $k => $v)
             $this->_debugprint(@sprintf("MemCache: sock %s got %s => %s\r\n", serialize($sock), $k, $v));
 
-      return $val[$key];
+      return @$val[$key];
    }
 
    // }}}