diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-03-05 01:06:22 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-03-05 01:06:22 +0100 |
commit | e7d9cfa009ba8e22b0e75f1401ea2caa70c89c5b (patch) | |
tree | 945c098cd490202ccb443d0d668092d5536ea3c8 | |
parent | 1148f3fca51efb60e536f2fe0d51880610f0812b (diff) | |
download | forums-e7d9cfa009ba8e22b0e75f1401ea2caa70c89c5b.tar forums-e7d9cfa009ba8e22b0e75f1401ea2caa70c89c5b.tar.gz forums-e7d9cfa009ba8e22b0e75f1401ea2caa70c89c5b.tar.bz2 forums-e7d9cfa009ba8e22b0e75f1401ea2caa70c89c5b.tar.xz forums-e7d9cfa009ba8e22b0e75f1401ea2caa70c89c5b.zip |
[ticket/11398] Correctly call permission_set method in permission tool
The permission_set method calls itself inside the permission tool.
Probably due to an oversight, it is called as $this->set(), which causes a
fatal error. This patch will get rid of this issue.
PHPBB3-11398
-rw-r--r-- | phpBB/includes/db/migration/tool/permission.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/migration/tool/permission.php b/phpBB/includes/db/migration/tool/permission.php index 3b196fdbc2..2f09c0ac72 100644 --- a/phpBB/includes/db/migration/tool/permission.php +++ b/phpBB/includes/db/migration/tool/permission.php @@ -422,7 +422,7 @@ class phpbb_db_migration_tool_permission implements phpbb_db_migration_tool_inte $this->db->sql_query($sql); $role_name = $this->db->sql_fetchfield('role_name'); - return $this->set($role_name, $auth_option, 'role', $has_permission); + return $this->permission_set($role_name, $auth_option, 'role', $has_permission); } $sql = 'SELECT auth_option_id, auth_setting |