No more Exception if ID cannot be found (e.g. content=0)
This commit is contained in:
@@ -179,7 +179,7 @@ class Image extends BaseI18nLoop implements PropelSearchLoopInterface
|
|||||||
|
|
||||||
$argValue = intval($this->getArgValue($source));
|
$argValue = intval($this->getArgValue($source));
|
||||||
|
|
||||||
if ($argValue > 0) {
|
if ($argValue >= 0) {
|
||||||
|
|
||||||
$search = $this->createSearchQuery($source, $argValue);
|
$search = $this->createSearchQuery($source, $argValue);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user