Changeset 332 for trunk/admin/modules/Elezioni
- Timestamp:
- Sep 8, 2020, 3:34:34 PM (4 years ago)
- Location:
- trunk/admin/modules/Elezioni
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_controlli.php
r328 r332 371 371 } 372 372 if (!$totsg) $totsg=$solog; 373 if ( $validil+$contestatil+$nullil+$totsg!=$votivand ($validil+$contestatil+$nullil+$solol>0 or $tvl>0)) {$err=1;$tipo='lista';}373 if (($totlis!=$votiv or $validil+$contestatil+$nullil+$totsg!=$votiv) and ($validil+$contestatil+$nullil+$solol>0 or $tvl>0)) {$err=1;$tipo='lista';} 374 374 if(($solog && !$disg && ($tnl!=$nullil && $disg)) || $totsl!=$solol) {$err=1;$tipo='lista';} 375 375 } -
trunk/admin/modules/Elezioni/ele_operatori.php
r257 r332 144 144 $sql="update ".$prefix."_authors set name='$name',pwd='".md5($passwd)."', email='$email' where id_comune='$id_comune' and aid='$aid2' "; 145 145 $res = $dbi->prepare("$sql"); 146 $res->execute(); 146 $res->execute(); 147 $result=$res->rowCount(); 147 148 if (!$result) return; 148 149 if ($aid2==$aid) $_SESSION['pwd']=md5($passwd);
Note:
See TracChangeset
for help on using the changeset viewer.