Fix 2.4
This commit is contained in:
parent
b5d437fc63
commit
aaf31822fd
|
@ -68,7 +68,8 @@ if (file_exists($docroot.'/include/custom/top.php')) {
|
|||
// Controllo se è una beta e in caso mostro un warning
|
||||
if (str_contains($version, 'beta')) {
|
||||
echo '
|
||||
<div class="alert alert-warning alert-dismissable pull-right fade in">
|
||||
<div class="clearfix" > </div>
|
||||
<div class="alert alert-warning alert-dismissable col-md-6 col-md-push-3 text-center fade in">
|
||||
<i class="fa fa-warning"></i> <b>'.tr('Attenzione!').'</b> '.tr('Stai utilizzando una versione <b>non stabile</b> di OSM.').'
|
||||
|
||||
<button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
|
||||
|
|
|
@ -14,7 +14,7 @@ if (!isset($_SESSION['dashboard']['idtecnici'])) {
|
|||
}
|
||||
|
||||
if (!isset($_SESSION['dashboard']['idstatiintervento'])) {
|
||||
$rs = $dbo->fetchArray('SELECT idstatointervento AS id, descrizione FROM in_statiintervento');
|
||||
$rs = $dbo->fetchArray('SELECT idstatointervento AS id, descrizione FROM in_statiintervento WHERE deleted = 0');
|
||||
|
||||
$_SESSION['dashboard']['idstatiintervento'] = ["'-1'"];
|
||||
|
||||
|
@ -51,7 +51,7 @@ $checks = '';
|
|||
$count = 0;
|
||||
$total = 0;
|
||||
|
||||
$rs = $dbo->fetchArray('SELECT idstatointervento AS id, descrizione, colore FROM in_statiintervento ORDER BY descrizione ASC');
|
||||
$rs = $dbo->fetchArray('SELECT idstatointervento AS id, descrizione, colore FROM in_statiintervento WHERE deleted = 0 ORDER BY descrizione ASC');
|
||||
$total = count($rs);
|
||||
|
||||
$allchecksstati = '';
|
||||
|
|
|
@ -22,7 +22,7 @@ class Prints
|
|||
if (empty(self::$prints)) {
|
||||
$database = Database::getConnection();
|
||||
|
||||
$results = $database->fetchArray('SELECT * FROM zz_prints');
|
||||
$results = $database->fetchArray('SELECT * FROM zz_prints WHERE enabled = 1');
|
||||
|
||||
$prints = [];
|
||||
|
||||
|
|
Loading…
Reference in New Issue