r5484 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r5483
|
r5484
|
r5485
>
Date:
08:32, 25 September 2004
Author:
jeluf
Status:
old
Tags:
Comment:
Avoid warning when incrementing non-existing element of array
Modified paths:
/trunk/phase3/includes/memcached-client.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/memcached-client.php
—
—
@@ -763,7 +763,7 @@
764
764
return null;
765
765
766
766
$key = is_array($key) ? $key[1] : $key;
767
- $this->stats[$cmd]++;
767
+ @$this->stats[$cmd]++;
768
768
if (!fwrite($sock, "$cmd $key $amt\r\n"))
769
769
return $this->_dead_sock($sock);
770
770
Status & tagging log
01:56, 13 October 2010
😂
(
talk
|
contribs
)
changed the
status
of r5484
[
removed:
new
added:
old]