| @@ 67-69 (lines=3) @@ | ||
| 64 | if (strpos($expr, "'") === 0) { |
|
| 65 | $expr = substr($expr, 1); |
|
| 66 | } |
|
| 67 | if (strrpos($expr, "'") === strlen($expr) - 1) { |
|
| 68 | $expr = substr($expr, 0, strlen($expr) - 1); |
|
| 69 | } |
|
| 70 | $expr = stripslashes($expr); |
|
| 71 | ||
| 72 | $instance->setValue($expr); |
|
| @@ 89-91 (lines=3) @@ | ||
| 86 | if (strpos($expr, "'") === 0) { |
|
| 87 | $expr = substr($expr, 1); |
|
| 88 | } |
|
| 89 | if (strrpos($expr, "'") === strlen($expr) - 1) { |
|
| 90 | $expr = substr($expr, 0, strlen($expr) - 1); |
|
| 91 | } |
|
| 92 | $expr = stripslashes($expr); |
|
| 93 | ||
| 94 | $const->setValue($expr); |
|