Open adamlive opened 2 months ago
Thanks for the plugin! Part of my wiki is public (not logged in at all) and I was getting warnings from this plug-in that looks to be an easy fix.
In action.php, around line 96, it tries to read userinfo before checking if empty, which works but throws a warning. If I can suggest:
action.php
if (empty($INFO['userinfo']['grps'])) { return "256"; } $user_groups = $INFO['userinfo']['grps'];
Looks like syntax/basic.php has a nearly identical getLevel function with the same problem (and solution)
syntax/basic.php
I'm no longer active. Think about adopting the plugin and updating. Or if you are not comfortable doing that, post to the DokuWiki forum for help.
Thanks for the plugin! Part of my wiki is public (not logged in at all) and I was getting warnings from this plug-in that looks to be an easy fix.
In
action.php
, around line 96, it tries to read userinfo before checking if empty, which works but throws a warning. If I can suggest:Looks like
syntax/basic.php
has a nearly identical getLevel function with the same problem (and solution)