mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
- 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
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user