Suppress errors on count increment (bug 13758)
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 27 Sep 2008 23:48:21 +0000 (23:48 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 27 Sep 2008 23:48:21 +0000 (23:48 +0000)
includes/memcached-client.php

index 0640adf..e1a8d44 100644 (file)
@@ -454,7 +454,7 @@ class memcached
       if (!$this->_active)
          return false;
 
-      $this->stats['get_multi']++;
+      @$this->stats['get_multi']++;
       $sock_keys = array();
 
       foreach ($keys as $key)