Skip to content

Commit 5e7b333

Browse files
committed
Update dbObject.php
1 parent 148302e commit 5e7b333

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dbObject.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,15 +391,15 @@ private function with ($objectName) {
391391
* @param string $objectName Object Name
392392
* @param string $key Key for a join from primary object
393393
* @param string $joinType SQL join type: LEFT, RIGHT, INNER, OUTER
394-
* @param string $primaryKey SQL join On Second primaryKey
394+
* @param string $primaryKey SQL join On Second primaryKey
395395
*
396396
* @return dbObject
397397
*/
398398
private function join ($objectName, $key = null, $joinType = 'LEFT', $primaryKey = null) {
399399
$joinObj = new $objectName;
400400
if (!$key)
401401
$key = $objectName . "id";
402-
if (!$primaryKey)
402+
if (!$primaryKey)
403403
$primaryKey = $joinObj->primaryKey;
404404

405405
$joinStr = MysqliDb::$prefix . $this->dbTable . ".{$key} = " .

0 commit comments

Comments
 (0)