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
Update formatting on database-related classes
[lhc/web/wiklou.git]
/
includes
/
db
/
DatabaseUtility.php
diff --git
a/includes/db/DatabaseUtility.php
b/includes/db/DatabaseUtility.php
index
de58bab
..
ed57cb7
100644
(file)
--- a/
includes/db/DatabaseUtility.php
+++ b/
includes/db/DatabaseUtility.php
@@
-187,6
+187,7
@@
class ResultWrapper implements Iterator {
if ( is_null( $this->currentRow ) ) {
$this->next();
}
+
return $this->currentRow;
}
@@
-203,6
+204,7
@@
class ResultWrapper implements Iterator {
function next() {
$this->pos++;
$this->currentRow = $this->fetchObject();
+
return $this->currentRow;
}