fix logic, avoid 5.5
This commit is contained in:
@@ -111,7 +111,7 @@ class Helper
|
||||
*/
|
||||
public static function getPasteId()
|
||||
{
|
||||
return version_compare(PHP_VERSION, '5.5', '>') ? self::$pasteid : hash('fnv164', self::$pasteV2['ct']);
|
||||
return version_compare(PHP_VERSION, '5.6', '<') ? hash('fnv164', self::$pasteV2['ct']) : self::$pasteid;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user