Update app_defaults.php
This commit is contained in:
parent
b4019239ba
commit
18047f2611
|
|
@ -24,10 +24,10 @@
|
|||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
*/
|
||||
|
||||
if (strlen($_SESSION['switch']['scripts']['dir']) > 0) {
|
||||
if ($domains_processed == 1) {
|
||||
|
||||
//update the notifications table
|
||||
if (is_array($_SESSION['switch']['scripts'])) {
|
||||
$sql = "select count(*) as num_rows from v_notifications ";
|
||||
$prep_statement = $db->prepare($sql);
|
||||
if ($prep_statement) {
|
||||
|
|
@ -50,6 +50,7 @@ if (strlen($_SESSION['switch']['scripts']['dir']) > 0) {
|
|||
unset($prep_statement, $row);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Reference in New Issue