Changeset 12563


Ignore:
Timestamp:
11/06/11 19:39:36 (8 years ago)
Author:
mistic100
Message:

error if comment list is empty on comments.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/reply_to/reply_to.inc.php

    r12389 r12563  
    7676  global $template; 
    7777  $comments = $template->get_template_vars('comments'); 
     78   
     79  if (!count($comments)) return $content; 
    7880   
    7981  foreach ($comments as $tpl_var) 
Note: See TracChangeset for help on using the changeset viewer.