set_pref: add default value for
This commit is contained in:
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);
|
||||
$value = db_escape_string($value);
|
||||
|
||||
|
|
Loading…
Reference in New Issue