X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FHelper%2FContentProxy.php;h=854acb6ae3c540d433d7863517b597db566d53ac;hb=494b47f29915cc881cfeba14c16b728d3adcb85a;hp=1ac7ad83c8ab753231ea72ec5c05db1205ae9aaf;hpb=839edf32cc08f525ef51e5a49a1764bcdfc2c461;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Helper/ContentProxy.php b/src/Wallabag/CoreBundle/Helper/ContentProxy.php index 1ac7ad83..854acb6a 100644 --- a/src/Wallabag/CoreBundle/Helper/ContentProxy.php +++ b/src/Wallabag/CoreBundle/Helper/ContentProxy.php @@ -125,7 +125,7 @@ class ContentProxy $date = $value; // is it a timestamp? - if (filter_var($date, FILTER_VALIDATE_INT) !== false) { + if (false !== filter_var($date, FILTER_VALIDATE_INT)) { $date = '@' . $date; }