set_pref: add default value for
This commit is contained in:
parent
ac9dbf854d
commit
5f798ab1e6
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue