aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cache
diff options
context:
space:
mode:
authorZoddo <zoddo.ino@gmail.com>2015-09-12 00:53:33 +0200
committerZoddo <zoddo.ino@gmail.com>2015-10-10 15:29:31 +0200
commit3937f1f4ae77b29faf69292783cc3ae267785ee4 (patch)
treef1764ac1f6c81f6b464e27665e73cf403644a7be /phpBB/phpbb/cache
parent8f6b50922ffc7d6c55fdfecf09ccde293546db24 (diff)
downloadforums-3937f1f4ae77b29faf69292783cc3ae267785ee4.tar
forums-3937f1f4ae77b29faf69292783cc3ae267785ee4.tar.gz
forums-3937f1f4ae77b29faf69292783cc3ae267785ee4.tar.bz2
forums-3937f1f4ae77b29faf69292783cc3ae267785ee4.tar.xz
forums-3937f1f4ae77b29faf69292783cc3ae267785ee4.zip
[ticket/14157] Allow to set the alt/title attribute on post icons
PHPBB3-14157
Diffstat (limited to 'phpBB/phpbb/cache')
-rw-r--r--phpBB/phpbb/cache/service.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/phpbb/cache/service.php b/phpBB/phpbb/cache/service.php
index 56727c2ad5..a022c00bc6 100644
--- a/phpBB/phpbb/cache/service.php
+++ b/phpBB/phpbb/cache/service.php
@@ -141,6 +141,7 @@ class service
$icons[$row['icons_id']]['img'] = $row['icons_url'];
$icons[$row['icons_id']]['width'] = (int) $row['icons_width'];
$icons[$row['icons_id']]['height'] = (int) $row['icons_height'];
+ $icons[$row['icons_id']]['alt'] = ($row['icons_alt']) ? $row['icons_alt'] : '';
$icons[$row['icons_id']]['display'] = (bool) $row['display_on_posting'];
}
$this->db->sql_freeresult($result);