set_pref: add default value for

master
Andrew Dolgov 15 years ago
parent ac9dbf854d
commit 5f798ab1e6

@ -77,7 +77,7 @@
} }
} }
function set_pref($link, $key, $value, $user_id) { function set_pref($link, $key, $value, $user_id = false) {
$key = db_escape_string($key); $key = db_escape_string($key);
$value = db_escape_string($value); $value = db_escape_string($value);

Loading…
Cancel
Save