and fixing PHP 5.5

This commit is contained in:
El RIDO
2019-05-10 23:09:35 +02:00
parent 7598b28a4a
commit c3719435a3
2 changed files with 2 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ class Helper
*/
public static function getPasteId()
{
return version_compare(PHP_VERSION, '5.5') > 0 ? self::$pasteid : hash('fnv164', self::$pasteV2['ct']);
return version_compare(PHP_VERSION, '5.5', '>') ? self::$pasteid : hash('fnv164', self::$pasteV2['ct']);
}
/**