|
@@ 5243-5245 (lines=3) @@
|
| 5240 |
|
"".(!empty($row['comment']) ? "'".$row['comment']."'" : "NULL").",".(!empty($row['scope']) ? "'".$row['scope']."'" : "NULL")."," . |
| 5241 |
|
"".(!empty($row['subkeytext'])?"'".$row['subkeytext']."'":"NULL").",$access_url)"; |
| 5242 |
|
Database::query($insert); |
| 5243 |
|
} else { // Such a setting does not exist. |
| 5244 |
|
error_log(__FILE__.':'.__LINE__.': Attempting to update setting '.$var.' ('.$subvar.') which does not exist at all', 0); |
| 5245 |
|
} |
| 5246 |
|
} else { |
| 5247 |
|
// Other access url. |
| 5248 |
|
if (!empty($subvar)) { |
|
@@ 5269-5271 (lines=3) @@
|
| 5266 |
|
"".(!empty($row['subkeytext']) ? "'".$row['subkeytext']."'" : "NULL").",$access_url,".$row['access_url_changeable'].")"; |
| 5267 |
|
Database::query($insert); |
| 5268 |
|
} |
| 5269 |
|
} else { // Such a setting does not exist. |
| 5270 |
|
error_log(__FILE__.':'.__LINE__.': Attempting to update setting '.$var.' ('.$subvar.') which does not exist at all. The access_url is: '.$access_url.' ',0); |
| 5271 |
|
} |
| 5272 |
|
} |
| 5273 |
|
} |
| 5274 |
|
} |