Changeset 390 for trunk/admin/modules/Elezioni/ele_spoglio.php
- Timestamp:
- Feb 23, 2023, 5:37:11 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_spoglio.php
r384 r390 956 956 $tot_pref=0; 957 957 $totsg=0; 958 $pro=[]; 959 $pro['voti']=''; 960 $pro['solo_gruppo']=''; 958 961 while(list($id_cons2,$id_gruppo,$num_gruppo, $descr_gruppo, $simbolo) = $result->fetch(PDO::FETCH_NUM)){ 959 962 echo "<SCRIPT type=\"text/javascript\">\n\n<!--\n" … … 1009 1012 $res = $dbi->prepare("$sql"); 1010 1013 $res->execute(); 1011 $pro= $res->fetch(PDO::FETCH_BOTH);1012 if(!$res->rowCount()) {$pro['voti']=''; $pro['solo_gruppo']='';}1014 if($res->rowCount()) 1015 $pro= $res->fetch(PDO::FETCH_BOTH); 1013 1016 $errcolor=''; 1014 1017 if(isset($errgrulis[$id_gruppo])) {$errcolor="style=\"background-color: rgb(255, 0, 0);\"";}
Note:
See TracChangeset
for help on using the changeset viewer.