some minor improvements to task editing of Questtype ?Textinput?

This commit is contained in:
coderkun 2014-08-17 20:31:27 +02:00
commit 1a4c9cdfa8
3 changed files with 14 additions and 9 deletions

View file

@ -215,7 +215,6 @@
{
// Validate regex
$regex = $field['regex'];
//$fieldValidation = $this->Validation->validate($regex, \nre\configs\AppConfig::$validation['regex']);
$fieldValidation = @preg_match($regex, '') !== false;
if($fieldValidation !== true)
{