Fix variable names
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 4 Oct 2010 20:19:50 +0000 (14:19 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 4 Oct 2010 20:19:50 +0000 (14:19 -0600)
imp/search.php

index f153309..c755083 100644 (file)
@@ -208,8 +208,8 @@ if ($vars->criteria_form) {
         case 'older':
         case 'younger':
             $c_list[] = new IMP_Search_Element_Within(
-                $val->v,
-                $constants['within'][$val->l]
+                $val->v->v,
+                $constants['within'][$val->v->l],
                 ($val->t == 'older')
             );
             break;