From acf0c0ddebf13b6075b6dac81c7675dd04d4a692 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 27 Jul 2007 17:33:27 +0000 Subject: err, forgot to commit git-svn-id: file:///svn/phpbb/trunk@7961 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/acp/auth.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/includes/acp/auth.php') diff --git a/phpBB/includes/acp/auth.php b/phpBB/includes/acp/auth.php index b5ae092954..e3514833b5 100644 --- a/phpBB/includes/acp/auth.php +++ b/phpBB/includes/acp/auth.php @@ -765,7 +765,7 @@ class auth_admin extends auth foreach ($option_ary as $option) { $sql_ary[] = array( - 'auth_option' => $option, + 'auth_option' => (string) $option, 'is_global' => ($type == 'global' || $type == 'local_global') ? 1 : 0, 'is_local' => ($type == 'local' || $type == 'local_global') ? 1 : 0 ); @@ -879,7 +879,7 @@ class auth_admin extends auth 'forum_id' => (int) $forum, 'auth_option_id' => 0, 'auth_setting' => 0, - 'auth_role_id' => $role_id + 'auth_role_id' => (int) $role_id, ); } } @@ -960,7 +960,7 @@ class auth_admin extends auth { $sql_ary[] = array( 'role_id' => (int) $role_id, - 'auth_option_id' => $this->option_ids[$flag], + 'auth_option_id' => (int) $this->option_ids[$flag], 'auth_setting' => ACL_NEVER ); } -- cgit v1.2.1