Skip to content

Commit

Permalink
Merge pull request #26 from xtaran/patch-1
Browse files Browse the repository at this point in the history
Fix "Array and string offset access syntax with curly braces is no longer supported"
  • Loading branch information
turnermm committed Jan 25, 2022
2 parents 8107a90 + 7cd7ad0 commit 0035c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ function is_user($uname) {
$uname = utf8_strtolower($uname);
foreach($users as $line) {
$line = trim($line);
if($line{0} == '#') continue;
if($line[0] == '#') continue;
list($user,$rest) = preg_split('/:/',$line,2);
if(!trim($user)) continue;
if($uname == $user) {
Expand Down

0 comments on commit 0035c6e

Please sign in to comment.