Removed unused variables.

This commit is contained in:
Rudi Grinberg 2012-09-13 10:35:24 -04:00
parent 52882ef938
commit 55993352bf
3 changed files with 1 additions and 3 deletions

View file

@ -446,7 +446,6 @@ class Application_Form_SmartBlockCriteria extends Zend_Form_SubForm
foreach ($data['criteria'] as $rowKey=>$row) {
foreach ($row as $key=>$d) {
$element = $this->getElement("sp_criteria_field_".$rowKey."_".$key);
$error = array();
// check for not selected select box
if ($d['sp_criteria_field'] == "0" || $d['sp_criteria_modifier'] == "0") {
$element->addError("You must select Criteria and Modifier");