Changeset 328 for trunk/admin/modules/Elezioni/ele_controlli.php
- Timestamp:
- Feb 16, 2020, 11:20:46 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_controlli.php
r326 r328 79 79 $rifscru++; 80 80 list($si,$no,$validi,$nulli,$bianchi,$contestati)=$res2->fetch(PDO::FETCH_NUM); 81 if( ($si+$no==$validi) and ($validi+$nulli+$bianchi+$contestati==$voti))81 if($validi and ($si+$no==$validi) and ($validi+$nulli+$bianchi+$contestati==$voti)) 82 82 continue; 83 83 else {$err=1; break;} … … 207 207 $rifscru++; 208 208 list($si,$no,$validi,$nulli,$bianchi,$contestati)=$res2->fetch(PDO::FETCH_NUM); 209 if( ($si+$no==$validi) and ($validi+$nulli+$bianchi+$contestati==$voti))209 if(!$validi or (($si+$no==$validi) and ($validi+$nulli+$bianchi+$contestati==$voti))) 210 210 continue; 211 211 else {$err=1; $idrg=$idrefgruppo; break;}
Note:
See TracChangeset
for help on using the changeset viewer.