aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_icons.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-10-14 14:56:46 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-10-14 14:56:46 +0000
commit4afaca12dc55b076293e9ef8ac28332d22730df0 (patch)
tree944b15618d8a0bed05fafb942e27322a739b2d3d /phpBB/includes/acp/acp_icons.php
parent46922674ea1b5ecf96d14c0edfdbcf6af3743051 (diff)
downloadforums-4afaca12dc55b076293e9ef8ac28332d22730df0.tar
forums-4afaca12dc55b076293e9ef8ac28332d22730df0.tar.gz
forums-4afaca12dc55b076293e9ef8ac28332d22730df0.tar.bz2
forums-4afaca12dc55b076293e9ef8ac28332d22730df0.tar.xz
forums-4afaca12dc55b076293e9ef8ac28332d22730df0.zip
- store sql_layer directly within the layer itself
- new method sql_multi_insert to circumvent db-specific hacks (hopefully not introduced any parsing errors) git-svn-id: file:///svn/phpbb/trunk@6497 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_icons.php')
-rw-r--r--phpBB/includes/acp/acp_icons.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_icons.php b/phpBB/includes/acp/acp_icons.php
index c4747a2e42..4636b067c2 100644
--- a/phpBB/includes/acp/acp_icons.php
+++ b/phpBB/includes/acp/acp_icons.php
@@ -311,7 +311,7 @@ class acp_icons
// The user has already selected a smilies_pak file
if ($current == 'delete')
{
- $db->sql_query(((SQL_LAYER != 'sqlite') ? 'TRUNCATE TABLE ' : 'DELETE FROM ') . $table);
+ $db->sql_query((($db->sql_layer != 'sqlite') ? 'TRUNCATE TABLE ' : 'DELETE FROM ') . $table);
switch ($mode)
{