mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-04 23:54:08 +01:00
Print 'add' categories/customer
Print 'add' categories/customer when no records found
This commit is contained in:
@@ -242,7 +242,7 @@ switch ($action) {
|
||||
$startTime = microtime();
|
||||
$categories = SP_Category::getCategories();
|
||||
|
||||
if ($categories) {
|
||||
if ($categories !== FALSE) {
|
||||
SP_Html::getQueryTable($arrCategoriesTableProp, $categories);
|
||||
SP_Html::printQueryInfoBar(count($categories), $startTime);
|
||||
}
|
||||
@@ -271,7 +271,7 @@ switch ($action) {
|
||||
$startTime = microtime();
|
||||
$customers = SP_Customer::getCustomers();
|
||||
|
||||
if ($customers) {
|
||||
if ($customers !== FALSE) {
|
||||
SP_Html::getQueryTable($arrCustomersTableProp, $customers);
|
||||
SP_Html::printQueryInfoBar(count($customers), $startTime);
|
||||
}
|
||||
@@ -385,4 +385,4 @@ if (isset($_SESSION["uisadminapp"]) && SP_Config::getValue('debug')) {
|
||||
// consulta ajax detiene al resto si se ejecuta antes
|
||||
if ($_SESSION['uisadminapp'] && SP_Config::getValue('checkupdates') === 1 && !SP_Common::parseParams('s', 'UPDATED', FALSE, TRUE)) {
|
||||
echo '<script>checkUpds();</script>';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user