aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-03-01 10:15:40 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-03-01 10:15:40 +0000
commit3f3e9d9bcc169608351d59ad89784d4444b47366 (patch)
treeafb7b8855348b107b7c9e87a8ab28b7c033026d7 /phpBB/includes/db
parent981f80a2dc82446e78c96f73f3f215410357a1e0 (diff)
downloadforums-3f3e9d9bcc169608351d59ad89784d4444b47366.tar
forums-3f3e9d9bcc169608351d59ad89784d4444b47366.tar.gz
forums-3f3e9d9bcc169608351d59ad89784d4444b47366.tar.bz2
forums-3f3e9d9bcc169608351d59ad89784d4444b47366.tar.xz
forums-3f3e9d9bcc169608351d59ad89784d4444b47366.zip
#8354
git-svn-id: file:///svn/phpbb/trunk@7101 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db')
-rw-r--r--phpBB/includes/db/dbal.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/includes/db/dbal.php b/phpBB/includes/db/dbal.php
index 77b5b46ffc..1687a994e7 100644
--- a/phpBB/includes/db/dbal.php
+++ b/phpBB/includes/db/dbal.php
@@ -299,11 +299,12 @@ class dbal
/**
* Build IN or NOT IN sql comparison string, uses <> or = on single element
* arrays to improve comparison speed
+ *
* @access public
* @param string $field name of the sql column that shall be compared
* @param array $array array of values that are allowed (IN) or not allowed (NOT IN)
- * @param bool $negate true for IN (), false for NOT IN ()
- * @param bool $allow_empty_set Allow $array to be empty, this function will return 1=1 or 1=0 then
+ * @param bool $negate true for NOT IN (), false for IN () (default)
+ * @param bool $allow_empty_set If true, allow $array to be empty, this function will return 1=1 or 1=0 then. Default to false.
*/
function sql_in_set($field, $array, $negate = false, $allow_empty_set = false)
{