If empty...
#1
When in MyBB Settings, setting "reminder_admin_text" is empty I want this:
if ($mybb->usergroup['cancp'])
 if($mybb->settings['reminder_enabled'] == 1)
if($mybb->settings['reminder_quantity'] == 1)
if(!empty($mybb->settings['reminder_admin_text'])) {
$reminder = '<table border="0" cellspacing="0" cellpadding="0" class="tborder">
<tr>
<td style="word-break: break-all;" class="thead"><p align="center">'.$mybb->settings['reminder_name'].'</p></td>
</tr>
<tr>
<td style="word-break: break-all; padding: 10px;" class="trow1"> <p align="center">EMPTY</p></td>
</table><br /><br />';
}
but word "EMPTY" is ever than, when this setting is filled.
Reply


Messages In This Thread
If empty... - by CezPlayer - 2016-11-01, 12:45 PM
RE: If empty... - by dragonexpert - 2016-11-01, 01:07 PM
RE: If empty... - by Matt - 2016-11-01, 01:08 PM
RE: If empty... - by CezPlayer - 2016-11-01, 05:59 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)