summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-07-30 11:55:30 +0300
committerAndrew Dolgov <[email protected]>2017-07-30 11:55:30 +0300
commit5e78b0c253d56d85b0339636c8793f93c835b792 (patch)
tree6760f190afff1642331528217c395b18ede5298a /include/functions.php
parent94df90a7ebd41155fb6c467624021f73128a27cf (diff)
do not base headlines label context submenu on feed tree labels category
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index ba5a699b9..dc2e9f64d 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1123,6 +1123,8 @@
$params["icon_cross"] = base64_img("images/cross.png");
$params["icon_indicator_white"] = base64_img("images/indicator_white.gif");
+ $params["labels"] = Labels::get_all_labels($_SESSION["uid"]);
+
return $params;
}
@@ -1320,6 +1322,7 @@
$data['dep_ts'] = calculate_dep_timestamp();
$data['reload_on_ts_change'] = !defined('_NO_RELOAD_ON_TS_CHANGE');
+ $data["labels"] = Labels::get_all_labels($_SESSION["uid"]);
if (CHECK_FOR_UPDATES && !$disable_update_check && $_SESSION["last_version_check"] + 86400 + rand(-1000, 1000) < time()) {
$update_result = @check_for_update();