label_create: set default owner_uid
This commit is contained in:
parent
f17cac6b26
commit
9eeb6d5e23
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@
|
||||||
db_query($link, "COMMIT");
|
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'];
|
if (!$owner_uid) $owner_uid = $_SESSION['uid'];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue