Заменить
$html = '<p class="hint">'._ws('This setting must be supported by the app; e.g., Shop-Script ver. 7.2.4.114 or higher.').'</p>';
на
if (SystemConfig::isDebug()) {
$html = '<p class="hint">'._ws('This setting must be supported by the app; e.g., Shop-Script ver. 7.2.4.114 or higher.').'</p>';
} else {
$html = '';
}
или
if (ifset($params['hint'], true)) {
$html = '<p class="hint">'._ws('This setting must be supported by the app; e.g., Shop-Script ver. 7.2.4.114 or higher.').'</p>';
} else {
$html = '';
}
2 комментария
В чём состоит ошибка?
это не ошибка, скорее недочет - нет простого способа скрыть данное сообщение.