Dotclear


Ignore:
Timestamp:
08/25/14 14:40:28 (11 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Missing test for editor from behavior callback
Apply changes to page plugin
Addresses #1896

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcLegacyEditor/inc/dc.legacy.editor.behaviors.php

    r2736 r2737  
    1515     protected static $p_url = 'index.php?pf=dcLegacyEditor'; 
    1616 
    17      public static function adminPostEditor($editor) { 
     17     public static function adminPostEditor($editor='') { 
    1818          global $core; 
    1919 
    20           if ($editor!='dcLegacyEditor') { 
     20          if (empty($editor) || $editor!='dcLegacyEditor') { 
    2121               return; 
    2222          } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map