diff options
author | Klaus Weidenbach <Klaus.Weidenbach@gmx.net> | 2015-03-04 00:03:19 +0100 |
---|---|---|
committer | Klaus Weidenbach <Klaus.Weidenbach@gmx.net> | 2015-03-04 00:15:24 +0100 |
commit | 0d601563d02d7e9b7414586486f1623a93cf958b (patch) | |
tree | 0dfa8f1ed5a68c610f474d4d56ede35bad48f49f /include/bookmarks.php | |
parent | 2d38e58adbf47a0c318100ffd08b7d90b827158f (diff) | |
download | volse-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.php | 2 |
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); } |