Changeset 397 for trunk/admin/admin.php
- Timestamp:
- Sep 29, 2023, 3:28:03 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/admin.php
r381 r397 531 531 if(isset($id_cons)) { 532 532 $sql="SELECT id_sez FROM ".$prefix."_ele_operatori where id_sez>0 and aid='$aid' and id_comune=$id_comune"; 533 $resmod = $dbi->prepare("$sql"); 534 $resmod->execute(); 533 try { 534 $resmod = $dbi->prepare("$sql"); 535 $resmod->execute(); 536 }catch(PDOException $e) 537 { 538 # echo "Viene eseguito un aggiornamento forzato del db<br>"; 539 $_SESSION['forzadb']=1; 540 include("modules/Elezioni/aggiornamento.php"); 541 542 die(); 543 } 535 544 list($id_sez) = $resmod->fetch(PDO::FETCH_NUM); #die("qui:$id_sez:$sql"); 536 545 if($id_sez) {
Note:
See TracChangeset
for help on using the changeset viewer.