fixed import error with version is ignored.
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.1.2
|
||||
@build 4th March, 2016
|
||||
@build 10th March, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage componentbuilder.php
|
||||
@ -1115,6 +1115,16 @@ abstract class ComponentbuilderHelper
|
||||
return $button->input;
|
||||
|
||||
}
|
||||
|
||||
public static function checkJson($string)
|
||||
{
|
||||
if (self::checkString($string))
|
||||
{
|
||||
json_decode($string);
|
||||
return (json_last_error() === JSON_ERROR_NONE);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static function checkObject($object)
|
||||
{
|
||||
|
Reference in New Issue
Block a user