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
Merge "[FileBackend] Added chaining ability to some TempFSFile methods."
[lhc/web/wiklou.git]
/
includes
/
db
/
DatabaseUtility.php
diff --git
a/includes/db/DatabaseUtility.php
b/includes/db/DatabaseUtility.php
index
eacebcf
..
c846788
100644
(file)
--- a/
includes/db/DatabaseUtility.php
+++ b/
includes/db/DatabaseUtility.php
@@
-242,7
+242,11
@@
class FakeResultWrapper extends ResultWrapper {
$this->currentRow = false;
}
$this->pos++;
- return $this->currentRow;
+ if ( is_object( $this->currentRow ) ) {
+ return get_object_vars( $this->currentRow );
+ } else {
+ return $this->currentRow;
+ }
}
function seek( $row ) {