Skip to content

Commit

Permalink
Merge branch 'master' of github.com:emoncms/graph
Browse files Browse the repository at this point in the history
  • Loading branch information
Trystan Lea committed Oct 25, 2022
2 parents 01c5341 + a830744 commit b10324a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion graph_menu.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
global $session;

if ($session["write"] || $session['public_userid']) {
if ($session["read"] || $session['public_userid']) {
// Initial graph menu item placement
$menu["setup"]["l2"]['graph'] = array(
"name"=>_("Graphs"),
Expand Down
2 changes: 1 addition & 1 deletion view.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@
url: path+public_username_str+"feed/list.json", async: false, dataType: "json",
success: function(data_in) { feeds = data_in; }
});
} else if (session_write) {
} else {
// Load user feeds
$.ajax({
url: path+"feed/list.json"+apikeystr, async: false, dataType: "json",
Expand Down

0 comments on commit b10324a

Please sign in to comment.