Dotclear


Ignore:
Timestamp:
07/08/10 12:27:47 (13 years ago)
Author:
Moe
Message:

@ Reply 1.4.5: fixed bug with Contribute (thanks to bebr)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/atReply/_public.php

    r2356 r2459  
    7676           
    7777          $entry_url = ''; 
    78           # simple and useful test on entry, from dcTemplate::SysIf()) 
    79           if ($GLOBALS['_ctx']->posts !== null) 
     78          # simple and effective test on entry, from dcTemplate::SysIf()) 
     79          if (($GLOBALS['_ctx']->posts !== null) 
     80               # avoid errors with Contribute 
     81               && (method_exists($GLOBALS['_ctx']->posts,'getURL'))) 
    8082          { 
    8183               $entry_url = $GLOBALS['_ctx']->posts->getURL(); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map