From: Gusa Date: Sun, 16 Dec 2012 05:04:16 +0000 (+0100) Subject: Edit ad, not show 'new' field when all languages X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=f1f1a013061c4218b10f6a2642c907b36be74ed1;p=mobi%2F.git Edit ad, not show 'new' field when all languages Fixed error in comment. --- diff --git a/lib/form/doctrine/AdForm.class.php b/lib/form/doctrine/AdForm.class.php index c3105d6..222bb2a 100644 --- a/lib/form/doctrine/AdForm.class.php +++ b/lib/form/doctrine/AdForm.class.php @@ -242,7 +242,7 @@ class AdForm extends BaseAdForm //Using Doctrine_Collection_Iterator $iterator = $languages->getIterator(); - //Doctrine_Collection with the available descriptions for our ad + //Doctrine_Collection with the current descriptions for our ad $adDescriptions = AdDescriptionTable::getInstance()->findByAdId($this->getObject()->getId()); while ($language = $iterator->current())