Skip to content

Commit 5159467

Browse files
xeon826uniquepoolmanagement
andauthored
added prefix to dbobject to be included in with() relation (#838)
Co-authored-by: uniquepoolmanagement <[email protected]>
1 parent adad0f4 commit 5159467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ private function with ($objectName) {
451451
if (!property_exists ($this, 'relations') || !isset ($this->relations[$objectName]))
452452
die ("No relation with name $objectName found");
453453

454-
$this->_with[$objectName] = $this->relations[$objectName];
454+
$this->_with[MysqliDb::$prefix.$objectName] = $this->relations[$objectName];
455455

456456
return $this;
457457
}

0 commit comments

Comments
 (0)