Sama34 / OUGC-Signature-Control

This plugin will add seven new options to extend users signature control in a group basis.
GNU General Public License v3.0
0 stars 0 forks source link

"Lines limit in signatures" must be set for UCP code to work. #1

Open Sama34 opened 10 years ago

Sama34 commented 10 years ago

Setting "Lines limit in signatures" setting to an empty value ("" or "0") will cause the plugin to fail at User CP because of the following code:

    if(!($mybb->input['action'] == 'do_editsig' && $mybb->request_method == 'post' && $mybb->usergroup['sc_maxsiglines']))
    {
        return;
    }