CIM69 - Car database
This commit is contained in:
@@ -312,7 +312,7 @@ switch ($action) {
|
||||
// --------------------------------------------
|
||||
// Send generic account to user for software updates
|
||||
// --------------------------------------------
|
||||
if ($firmware_account_send == 2){
|
||||
if ($firmware_account_send == 1){
|
||||
include_once './assets/mail/email_template_software.php';
|
||||
send_mail($post_content['email'],$subject,$message,'','');
|
||||
}
|
||||
|
||||
@@ -107,7 +107,7 @@ else {
|
||||
foreach ($account as $key => $value){
|
||||
if ($key != "section"){
|
||||
//CHECK for id- pattern
|
||||
if (preg_match('/\-.*/',$value)){
|
||||
if (empty($value) ||$value == '' || preg_match('/\-.*/',$value)){
|
||||
//Do Nothing
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user