diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2004-09-05 15:45:50 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2004-09-05 15:45:50 +0000 |
| commit | e593bcf3d7ff2636b9e0ea578cbd7b795e135a38 (patch) | |
| tree | 86e5fef9d7f2b7fd3f184c5dbdd6f8b8e521010c /phpBB/includes/session.php | |
| parent | 76f9c1bdad31500ac0e87c7b8560352f39b0857a (diff) | |
| download | forums-e593bcf3d7ff2636b9e0ea578cbd7b795e135a38.tar forums-e593bcf3d7ff2636b9e0ea578cbd7b795e135a38.tar.gz forums-e593bcf3d7ff2636b9e0ea578cbd7b795e135a38.tar.bz2 forums-e593bcf3d7ff2636b9e0ea578cbd7b795e135a38.tar.xz forums-e593bcf3d7ff2636b9e0ea578cbd7b795e135a38.zip | |
- re-enable polls (user is now able to decide if users are able to change votes if this feature is enabled within the given forum)
git-svn-id: file:///svn/phpbb/trunk@4981 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/session.php')
| -rw-r--r-- | phpBB/includes/session.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 5aa9d52b77..c69328ff5a 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -751,7 +751,7 @@ class user extends session static $imgs; global $phpbb_root_path; - if (empty($imgs[$img . $suffix]) || $width) + if (empty($imgs[$img . $suffix]) || $width !== false) { if (!isset($this->theme['primary'][$img]) || !$this->theme['primary'][$img]) { @@ -760,7 +760,7 @@ class user extends session return $imgs[$img . $suffix]; } - if (!$width) + if ($width === false) { list($imgsrc, $height, $width) = explode('*', $this->theme['primary'][$img]); } |
