From 388bd7c3aff8b440febd83598003f96d5a746505 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sun, 18 Aug 2019 12:03:45 +0200 Subject: Render All Button --- app/class/element.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/class/element.php') diff --git a/app/class/element.php b/app/class/element.php index 1a801e4..824a0b6 100644 --- a/app/class/element.php +++ b/app/class/element.php @@ -72,18 +72,18 @@ class Element $value = $optionmatch[3]; } else { $read = '

Rendering error :

Paramaters must have a value like : /' . $key . '=__value__ for parameter : ' . $key . '

'; - throw new Exception($read); + //throw new Exception($read); } $method = 'set' . $key; if (in_array($key, self::OPTIONS)) { if (!$this->$method($value)) { $read = '

Rendering error :

Invalid value input : ' . $value . ' for parameter : ' . $key . '

'; - throw new Exception($read); + //throw new Exception($read); } } else { $read = '

Rendering error :

Parameter name : ' . $optionmatch[1] . ' does not exist

'; - throw new Exception($read); + //throw new Exception($read); } } } -- cgit v1.2.3