Commit 2a8cfbf1 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Bug: custom variables enclosed in ticks now are now stripped of the ticks.

parent 71eb0d9e
......@@ -60,7 +60,7 @@ class Config {
if (!empty($arr[0]) && !empty($arr[1])) {
$arr[0] = trim($arr[0]);
$arr[1] = trim($arr[1]);
$arr[1] = OnString::trimQuote(trim($arr[1]));
if (isset($config[$arr[0]])) {
throw new UserReportException("Variable '$arr[0]' already defined", ERROR_INVALID_OR_MISSING_PARAMETER);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment