Hello Chief,
i got the following error in sandbox and in the downloaded component which orrcure with the following error:
Parse error: syntax error, unexpected ']', expecting ',' or ';' in /home/cook/sites/www.j-cook.net/public_html/sandbox/cms32/administrator/components/com_demo10812/models/rules/quote.php on line 52
quote.php code:
/**
* The regular expression to use in testing a form field value.
*
* @var string
*/
protected $regex = '^[^']*$';
The cooking creator must create a code which is vaild like this:
/**
* The regular expression to use in testing a form field value.
*
* @var string
*/
protected $regex = '^[^\']*$';
Or:
/**
* The regular expression to use in testing a form field value.
*
* @var string
*/
protected $regex = "^[^']*$";
Thank you for fixing this in advance