dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
212c3af
)
allow empty condition for wfGetSQL()
author
Domas Mituzas
<midom@users.mediawiki.org>
Fri, 11 Jun 2004 14:33:29 +0000
(14:33 +0000)
committer
Domas Mituzas
<midom@users.mediawiki.org>
Fri, 11 Jun 2004 14:33:29 +0000
(14:33 +0000)
includes/DatabaseFunctions.php
patch
|
blob
|
history
diff --git
a/includes/DatabaseFunctions.php
b/includes/DatabaseFunctions.php
index
89f1bef
..
3b92eaa
100644
(file)
--- a/
includes/DatabaseFunctions.php
+++ b/
includes/DatabaseFunctions.php
@@
-156,7
+156,7
@@
function wfSetSQL( $table, $var, $value, $cond )
return $db->set( $table, $var, $value, $cond );
}
-function wfGetSQL( $table, $var, $cond )
+function wfGetSQL( $table, $var, $cond
=""
)
{
$db =& wfGetDB();
return $db->get( $table, $var, $cond );