vtenext/modules/Update/changes/1800_1801.php
2021-04-28 20:10:26 +02:00

7 lines
459 B
PHP

<?php
global $adb, $table_prefix;
$result = $adb->pquery("select id from tbl_s_newsletter_status where name = ?", array('LBL_INVALID_EMAILADDRESS'));
if ($result && $adb->num_rows($result) == 0) {
$adb->pquery('insert into tbl_s_newsletter_status (id, name) values (?,?)', array(7,'LBL_INVALID_EMAILADDRESS'));
}
SDK::setLanguageEntries('Newsletter', 'LBL_INVALID_EMAILADDRESS', array('it_it'=>'Indirizzo email non valido','en_us'=>'Invalid email address'));