Changeset 344 for trunk/wp-admin/wp-options.php
- Timestamp:
- 08/25/2003 01:12:19 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/wp-options.php
r301 r344 70 70 if ($msg == '') { 71 71 //no error message 72 $result = $wpdb->query("UPDATE $tableoptions SET option_value = ' " . addslashes($new_val) . "' WHERE option_id = $option->option_id");72 $result = $wpdb->query("UPDATE $tableoptions SET option_value = '$new_val' WHERE option_id = $option->option_id"); 73 73 if (!$result) { 74 74 $db_errors .= " SQL error while saving $this_name. ";
Note: See TracChangeset
for help on using the changeset viewer.