fixed import error with version is ignored.

This commit is contained in:
2016-03-10 23:23:23 +02:00
parent 0c30fa7f68
commit 306b6b9787
1485 changed files with 244759 additions and 375 deletions

View File

@ -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)
{