|
From: <var...@us...> - 2021-07-28 13:33:12
|
Revision: 10376
http://sourceforge.net/p/phpwiki/code/10376
Author: vargenau
Date: 2021-07-28 13:33:10 +0000 (Wed, 28 Jul 2021)
Log Message:
-----------
php7:notice PHP Deprecated: Array and string offset access syntax with curly braces is deprecated
Modified Paths:
--------------
trunk/lib/PagePerm.php
Modified: trunk/lib/PagePerm.php
===================================================================
--- trunk/lib/PagePerm.php 2021-07-28 13:30:02 UTC (rev 10375)
+++ trunk/lib/PagePerm.php 2021-07-28 13:33:10 UTC (rev 10376)
@@ -395,7 +395,7 @@
return true;
}
$allow = -1;
- if (!empty($this->perm{$access})) {
+ if (!empty($this->perm[$access])) {
foreach ($this->perm[$access] as $group => $bool) {
if ($this->isMember($user, $group)) {
return $bool;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|