aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-03-20 00:29:24 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-03-20 00:29:24 +0000
commitcfbb8a10e7f01fd1bc7f685cde0049b005e0e27e (patch)
treed30b9cb72149890f5e6de4b719d0ee31a15729b5 /phpBB/includes/functions.php
parent57a5147d5b433ad0de1480a003c29676e4986917 (diff)
downloadforums-cfbb8a10e7f01fd1bc7f685cde0049b005e0e27e.tar
forums-cfbb8a10e7f01fd1bc7f685cde0049b005e0e27e.tar.gz
forums-cfbb8a10e7f01fd1bc7f685cde0049b005e0e27e.tar.bz2
forums-cfbb8a10e7f01fd1bc7f685cde0049b005e0e27e.tar.xz
forums-cfbb8a10e7f01fd1bc7f685cde0049b005e0e27e.zip
sql char field types must be enclosed in ' rather than "
git-svn-id: file:///svn/phpbb/trunk@3682 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 19a4b9fc75..34fda0d4d3 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -32,8 +32,8 @@ function set_config($config_name, $config_value, $is_dynamic = FALSE)
}
else
{
- $db->sql_query('DELETE FROM ' . CONFIG_TABLE . '
- WHERE config_name = "' . $config_name . '"');
+ $db->sql_query('DELETE FROM ' . CONFIG_TABLE . "
+ WHERE config_name = '" . $config_name . "'");
$sql = 'INSERT INTO ' . CONFIG_TABLE . " (config_name, config_value)
VALUES ('$config_name', '" . $db->sql_escape($config_value) . "')";
@@ -244,7 +244,7 @@ function make_jumpbox($action, $forum_id = false, $extra_form_fields = array())
$sql = 'SELECT forum_id, forum_name, forum_postable, left_id, right_id
FROM ' . FORUMS_TABLE . '
ORDER BY left_id ASC';
- $result = $db->sql_query($sql);
+ $result = $db->sql_query($sql, 120);
$right = $cat_right = 0;
$padding = $forum_list = $holding = '';