From e593bcf3d7ff2636b9e0ea578cbd7b795e135a38 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 5 Sep 2004 15:45:50 +0000 Subject: - 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 --- phpBB/includes/session.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/includes/session.php') 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]); } -- cgit v1.2.1