Skip to content

Commit fd758c5

Browse files
committed
Dev: Compound key support for refresh option
1 parent 6af8b85 commit fd758c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Editor.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,9 @@ private function _get($id = null, $http = null)
11681168
for ($i = 0; $i < count($httpIds); ++$i) {
11691169
$id = str_replace($this->_idPrefix, '', $httpIds[$i]);
11701170

1171-
$q->or_where($this->pkeyToArray($id, true));
1171+
$q->or_where(function ($r) use ($id) {
1172+
$r->where($this->pkeyToArray($id, true));
1173+
});
11721174
}
11731175
});
11741176
}

0 commit comments

Comments
 (0)