diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2009-06-21 11:13:20 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-06-21 11:13:20 +0000 |
| commit | afc0ef93c51f659247f4942a3691405d95947383 (patch) | |
| tree | a6109f6f924e24cc6b17b7aaa1fcc19f83512089 /phpBB/includes | |
| parent | 8e59781b73e492ef01c6ab3bf75341f355fbbb94 (diff) | |
| download | forums-afc0ef93c51f659247f4942a3691405d95947383.tar forums-afc0ef93c51f659247f4942a3691405d95947383.tar.gz forums-afc0ef93c51f659247f4942a3691405d95947383.tar.bz2 forums-afc0ef93c51f659247f4942a3691405d95947383.tar.xz forums-afc0ef93c51f659247f4942a3691405d95947383.zip | |
add check to newly registered function to not execute this more than once
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9644 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
| -rw-r--r-- | phpBB/includes/session.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 6b87bcc866..4dc6933236 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -2248,6 +2248,11 @@ class user extends session { global $db; + if (empty($this->data['user_new'])) + { + return false; + } + if (!function_exists('group_user_del')) { global $phpbb_root_path, $phpEx; |
