Dotclear


Ignore:
Timestamp:
12/18/16 12:18:09 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

$core as 1st arg of every new behaviors (if applicable) is a good idea, thanks JcDenis? for this reminder 👍

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.dc.page.php

    r3458 r3459  
    269269 
    270270               # --BEHAVIOR-- adminPageNotificationError 
    271                $notice_error = $core->callBehavior('adminPageNotificationError',$core->error); 
     271               $notice_error = $core->callBehavior('adminPageNotificationError',$core,$core->error); 
    272272 
    273273               if (isset($notice_error) && !empty($notice_error)) { 
     
    286286 
    287287                    # --BEHAVIOR-- adminPageNotification 
    288                     $notice = $core->callBehavior('adminPageNotification',$notification); 
     288                    $notice = $core->callBehavior('adminPageNotification',$core,$notification); 
    289289 
    290290                    $res .= (isset($notice) && !empty($notice) ? $notice : self::getNotification($notification)); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map