summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-02 15:42:49 +0400
committerAndrew Dolgov <[email protected]>2013-04-02 15:42:49 +0400
commit9eeb6d5e233006a35545917c9c9da95cbc53508a (patch)
tree8fe1c9823b24701b1c88874552a80be14583a424
parentf17cac6b26c4df018e8fda97925411d8267c1310 (diff)
label_create: set default owner_uid
-rw-r--r--include/labels.php2
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'];