dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
and -> && in r77366
[lhc/web/wiklou.git]
/
includes
/
WatchedItem.php
diff --git
a/includes/WatchedItem.php
b/includes/WatchedItem.php
index
1fd6e31
..
0cf8a77
100644
(file)
--- a/
includes/WatchedItem.php
+++ b/
includes/WatchedItem.php
@@
-143,7
+143,7
@@
class WatchedItem {
);
# Construct array to replace into the watchlist
$values = array();
-
while ( $s = $dbw->fetchObject( $res )
) {
+
foreach ( $res as $s
) {
$values[] = array(
'wl_user' => $s->wl_user,
'wl_namespace' => $newnamespace,