aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/auth.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-07-27 17:33:27 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-07-27 17:33:27 +0000
commitacf0c0ddebf13b6075b6dac81c7675dd04d4a692 (patch)
treeb2452341efa35b710560ea75e70401b0f5c474c2 /phpBB/includes/acp/auth.php
parent92c25a3e6c99bb071710b2f5dc5939262924233c (diff)
downloadforums-acf0c0ddebf13b6075b6dac81c7675dd04d4a692.tar
forums-acf0c0ddebf13b6075b6dac81c7675dd04d4a692.tar.gz
forums-acf0c0ddebf13b6075b6dac81c7675dd04d4a692.tar.bz2
forums-acf0c0ddebf13b6075b6dac81c7675dd04d4a692.tar.xz
forums-acf0c0ddebf13b6075b6dac81c7675dd04d4a692.zip
err, forgot to commit
git-svn-id: file:///svn/phpbb/trunk@7961 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/auth.php')
-rw-r--r--phpBB/includes/acp/auth.php6
1 files changed, 3 insertions, 3 deletions
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
);
}