Rev 1177 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1177 | Rev 1219 | ||
---|---|---|---|
Line 243... | Line 243... | ||
243 | if (isset($this->validateCallbacks[$name])) { |
243 | if (isset($this->validateCallbacks[$name])) { |
244 | $this->validateCallbacks[$name]($value); |
244 | $this->validateCallbacks[$name]($value); |
245 | } |
245 | } |
246 | 246 | ||
247 | // Now change the value in the database |
247 | // Now change the value in the database |
248 | OIDplus::db()->query("update ###config set value = ? where name = ?", array($value, $name)); |
248 | OIDplus::db()->query("update ###config set value = ? where name = ?", array("$value", "$name")); |
249 | $this->values[$name] = $value; |
249 | $this->values[$name] = $value; |
250 | } |
250 | } |
251 | 251 | ||
252 | /** |
252 | /** |
253 | * @param string $name |
253 | * @param string $name |