aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-03-08 20:42:04 +0000
committerrvelices <rv-github@modusoptimus.com>2011-03-08 20:42:04 +0000
commitad99a1c652f37f5f502f335aed031e1e83a3ecab (patch)
treef88720d840dc521371ee05dd210bb28be784424b /include
parenta15887fbccd68ad83c158e5806301b9e668793c3 (diff)
bug 2195: webservices f_min_date_available not working
git-svn-id: http://piwigo.org/svn/trunk@9576 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/ws_functions.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index be453b6f7..fa1be9e1d 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -68,13 +68,13 @@ function ws_std_image_sql_filter( $params, $tbl_name='' )
{
$clauses[] = $tbl_name.'hit<='.$params['f_max_hit'];
}
- if ( isset($params['f_min_date_posted']) )
+ if ( isset($params['f_min_date_available']) )
{
- $clauses[] = $tbl_name."date_available>='".$params['f_min_date_posted']."'";
+ $clauses[] = $tbl_name."date_available>='".$params['f_min_date_available']."'";
}
- if ( isset($params['f_max_date_posted']) )
+ if ( isset($params['f_max_date_available']) )
{
- $clauses[] = $tbl_name."date_available<'".$params['f_max_date_posted']."'";
+ $clauses[] = $tbl_name."date_available<'".$params['f_max_date_available']."'";
}
if ( isset($params['f_min_date_created']) )
{