CC-84: Smart Playlists

- fixed getCriteria() to non static function
This commit is contained in:
James 2012-07-30 18:21:27 -04:00
parent b9739b022d
commit 27017c7903
3 changed files with 64 additions and 42 deletions

View file

@ -112,7 +112,8 @@ class Application_Form_SmartBlockCriteria extends Zend_Form_SubForm
->setValue($blockType);
$this->addElement($spType);
$storedCrit = Application_Model_Block::getCriteria($p_blockId);
$bl = new Application_Model_Block($p_blockId);
$storedCrit = $bl->getCriteria();
/* $modRoadMap stores the number of modifier rows each
* criteria row has. We need to know this so we display the