aboutsummaryrefslogtreecommitdiffstats
path: root/include/bookmarks.php
diff options
context:
space:
mode:
authorKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2015-03-04 00:03:19 +0100
committerKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2015-03-04 00:15:24 +0100
commit0d601563d02d7e9b7414586486f1623a93cf958b (patch)
tree0dfa8f1ed5a68c610f474d4d56ede35bad48f49f /include/bookmarks.php
parent2d38e58adbf47a0c318100ffd08b7d90b827158f (diff)
downloadvolse-hubzilla-0d601563d02d7e9b7414586486f1623a93cf958b.tar.gz
volse-hubzilla-0d601563d02d7e9b7414586486f1623a93cf958b.tar.bz2
volse-hubzilla-0d601563d02d7e9b7414586486f1623a93cf958b.zip
Some cleanups and documentation.
Fixed some wrong variable names. Initialized some variables before using them. Removed some checks for STATUSNET_PRIVACY_COMPATIBILITY in include/security.php as it does not seem to be defined anywhere.
Diffstat (limited to 'include/bookmarks.php')
-rw-r--r--include/bookmarks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bookmarks.php b/include/bookmarks.php
index e70158476..c6e8e86f2 100644
--- a/include/bookmarks.php
+++ b/include/bookmarks.php
@@ -9,7 +9,7 @@ function bookmark_add($channel,$sender,$taxonomy,$private,$opts = null) {
$ischat = false;
if(is_array($opts)) {
- $menu_id = ((x($opts,'menu_id')) ? intval($opt['menu_id']) : 0);
+ $menu_id = ((x($opts,'menu_id')) ? intval($opts['menu_id']) : 0);
$menu_name = ((x($opts,'menu_name')) ? escape_tags($opts['menu_name']) : '');
$ischat = ((x($opts,'ischat')) ? intval($opts['ischat']) : 0);
}