Skip to content

Commit

Permalink
Update HelperController.php
Browse files Browse the repository at this point in the history
fix bug for postgresql : Invalid text representation: 7 ERROR:  invalid input syntax for integer: """
  • Loading branch information
grizzlylab authored and Thomas Rabaix committed Apr 16, 2014
1 parent 7d72b7b commit 72f96fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Controller/HelperController.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ public function getShortObjectDescriptionAction(Request $request)
if ($uniqid) {
$admin->setUniqid($uniqid);
}

if(!$objectId){$objectId = NULL;}

$object = $admin->getObject($objectId);

Expand Down

0 comments on commit 72f96fb

Please sign in to comment.