diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-08-18 12:03:45 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-08-18 12:03:45 +0200 |
commit | 388bd7c3aff8b440febd83598003f96d5a746505 (patch) | |
tree | afd61cffc28709a8357a8dd2295a810e037290a3 /app/class/element.php | |
parent | 50e367e56b367259a2e6fb29621c97e9b0fc9c5e (diff) | |
download | wcms-388bd7c3aff8b440febd83598003f96d5a746505.tar.gz wcms-388bd7c3aff8b440febd83598003f96d5a746505.zip |
Render All Button
Diffstat (limited to 'app/class/element.php')
-rw-r--r-- | app/class/element.php | 6 |
1 files changed, 3 insertions, 3 deletions
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 = '<h2>Rendering error :</h2><p>Paramaters must have a value like : <strong><code>/' . $key . '=__value__</code></strong> for parameter : <strong><code>' . $key . '</code></strong></p>'; - throw new Exception($read); + //throw new Exception($read); } $method = 'set' . $key; if (in_array($key, self::OPTIONS)) { if (!$this->$method($value)) { $read = '<h2>Rendering error :</h2><p>Invalid value input : <strong><code>' . $value . '</code></strong> for parameter : <strong><code>' . $key . '</code></strong></p>'; - throw new Exception($read); + //throw new Exception($read); } } else { $read = '<h2>Rendering error :</h2><p>Parameter name : <strong><code>' . $optionmatch[1] . '</code></strong> does not exist<p>'; - throw new Exception($read); + //throw new Exception($read); } } } |