diff options
author | Nils Adermann <naderman@naderman.de> | 2006-01-05 12:10:31 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2006-01-05 12:10:31 +0000 |
commit | 717424444680049eb0e2956486bcc149fe5cd851 (patch) | |
tree | 6108ed72507e5a32b1359810fe379c88b7df9f4d /phpBB/includes/functions_display.php | |
parent | 636ab0f5ea0fb55d8cafa8aea55babae2f7c7e34 (diff) | |
download | forums-717424444680049eb0e2956486bcc149fe5cd851.tar forums-717424444680049eb0e2956486bcc149fe5cd851.tar.gz forums-717424444680049eb0e2956486bcc149fe5cd851.tar.bz2 forums-717424444680049eb0e2956486bcc149fe5cd851.tar.xz forums-717424444680049eb0e2956486bcc149fe5cd851.zip |
- acm::exists() is considered private now and was renamed to acm::_exists()
git-svn-id: file:///svn/phpbb/trunk@5425 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r-- | phpBB/includes/functions_display.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index 5c6eceba2a..6f76c0144e 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -666,11 +666,7 @@ function display_attachments($forum_id, $blockname, &$attachment_data, &$update_ if (!isset($attachment_tpl)) { - if ($cache->exists('attachment_tpl')) - { - $attachment_tpl = $cache->get('attachment_tpl'); - } - else + if (!($attachment_tpl = $cache->get('attachment_tpl'))) { $attachment_tpl = array(); |