Changeset 3959
- Timestamp:
- 05/08/07 15:18:23 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfBBPlugin/modules/sfBB/lib/sfBBPlugin_sfBBActions.class.php
r3958 r3959 22 22 public function preExecute() 23 23 { 24 $theme = sfConfig::get('app_sf_bb_plugin_theme' ) ? sfConfig::get('app_sf_bb_plugin_theme') : 'default';24 $theme = sfConfig::get('app_sf_bb_plugin_theme', 'default'); 25 25 26 26 $this->getResponse()->addStylesheet('/sfBBPlugin/css/'.$theme.'.css'); … … 30 30 { 31 31 $c = new Criteria(); 32 $c->add(sfBBCategoryPeer::IS_LIVE, 1);32 $c->add(sfBBCategoryPeer::IS_LIVE, true); 33 33 $this->categories = sfBBCategoryPeer::doSelect($c); 34 34 } … … 38 38 $c = new Criteria(); 39 39 $c->add(sfBBForumPeer::ID, $this->getRequestParameter('id')); 40 $c->add(sfBBForumPeer::IS_LIVE, 1);40 $c->add(sfBBForumPeer::IS_LIVE, true); 41 41 $forum = sfBBForumPeer::doSelectOne($c); 42 42