Changeset 646

Show
Ignore:
Timestamp:
2008-06-27 22:39:56 (2 months ago)
Author:
arthus
Message:

Fixed an isset error for loupable

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/loupable/trunk/loupable.plugin.php

    r645 r646  
    3030    public function action_add_template_vars($theme, $handler_vars) { 
    3131        $items = array(); 
    32         if($theme->request->display_home) { 
     32        if(isset($theme->request->display_home) && $theme->request->display_home) { 
    3333            $posts = Posts::get(array('content_type' => Post::type('entry'), 'status' => Post::status('published'), 'nolimit' => true, 'orderby' => 'pubdate ASC')); 
    3434            foreach($posts as $post) {