diff options
author | Andrew Dolgov <[email protected]> | 2013-04-02 15:42:49 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-02 15:42:49 +0400 |
commit | 9eeb6d5e233006a35545917c9c9da95cbc53508a (patch) | |
tree | 8fe1c9823b24701b1c88874552a80be14583a424 /include/labels.php | |
parent | f17cac6b26c4df018e8fda97925411d8267c1310 (diff) |
label_create: set default owner_uid
Diffstat (limited to 'include/labels.php')
-rw-r--r-- | include/labels.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/labels.php b/include/labels.php index 5ac8794d9..655b51555 100644 --- a/include/labels.php +++ b/include/labels.php @@ -173,7 +173,7 @@ db_query($link, "COMMIT"); } - function label_create($link, $caption, $fg_color = '', $bg_color = '', $owner_uid) { + function label_create($link, $caption, $fg_color = '', $bg_color = '', $owner_uid = false) { if (!$owner_uid) $owner_uid = $_SESSION['uid']; |