No more Exception if ID cannot be found (e.g. content=0)

This commit is contained in:
Franck Allimant
2014-06-30 22:04:09 +02:00
parent 7a10a25780
commit 63d8ea52dd

View File

@@ -179,7 +179,7 @@ class Image extends BaseI18nLoop implements PropelSearchLoopInterface
$argValue = intval($this->getArgValue($source));
if ($argValue > 0) {
if ($argValue >= 0) {
$search = $this->createSearchQuery($source, $argValue);