Dotclear

Changeset 2701:f9ee5d4e8aef


Ignore:
Timestamp:
04/08/14 16:01:10 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Cope with empty mandatory fields, Fixes #1966

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/simpleMenu/index.php

    r2588 r2701  
    220220                         http::redirect($p_url); 
    221221                    } else { 
    222                          throw new Exception(__('Label and URL of menu item are mandatory.')); 
     222                         $step = 3; 
     223                         $item_select_label = $item_label; 
     224                         dcPage::addErrorNotice(__('Label and URL of menu item are mandatory.')); 
    223225                    } 
    224226               } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map