Dotclear

Changeset 3396:f6af2a6a4290


Ignore:
Timestamp:
11/08/16 17:34:42 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Not necessary to set GUI Url during installation of plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/antispam/inc/class.dc.spamfilter.php

    r3375 r3396  
    4040          } 
    4141 
    42         $this->gui_url = $core->adminurl->get('admin.plugin.antispam',array('f' => get_class($this)),'&'); 
     42          if ($core && isset($core->adminurl)) { 
     43             $this->gui_url = $core->adminurl->get('admin.plugin.antispam',array('f' => get_class($this)),'&'); 
     44          } 
    4345     } 
    4446 
Note: See TracChangeset for help on using the changeset viewer.

Sites map