Update app_defaults.php
This commit is contained in:
parent
5e73c46b74
commit
0ab00dc345
|
|
@ -29,10 +29,8 @@
|
|||
|
||||
//add the email templates to the database
|
||||
$sql = "select count(*) as num_rows from v_email_templates ";
|
||||
$prep_statement = $db->prepare(check_sql($sql));
|
||||
if ($prep_statement) {
|
||||
$prep_statement->execute();
|
||||
$row = $prep_statement->fetch(PDO::FETCH_ASSOC);
|
||||
$database = new database;
|
||||
$num_rows = $database->select($sql, $parameters, 'column');
|
||||
if ($row['num_rows'] == 0) {
|
||||
|
||||
//build the array
|
||||
|
|
@ -327,7 +325,6 @@
|
|||
$p->delete("email_template_edit", 'temp');
|
||||
|
||||
} //if ($row['num_rows'] == 0)
|
||||
} //if ($prep_statement)
|
||||
} //if ($domains_processed == 1)
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue