Ignore:
Timestamp:
May 6, 2019, 8:08:18 PM (6 years ago)
Author:
roby
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/modules/Elezioni/salva_gruppi.php

    r288 r297  
    5050        $vot="voti$i";$solo="solog$i";$grupp="num_gruppo$i";
    5151        if (isset($_GET[$grupp])) $num_gruppo[$i]=intval($_GET[$grupp]); else $num_gruppo[$i]='0';
    52         if (isset($_GET[$vot])) $voti[$i]=intval($_GET[$vot]); else $voti[$i]='0';
     52        if (isset($_GET[$vot]) && $_GET[$vot]) $voti[$i]=intval($_GET[$vot]); else $voti[$i]='0';
    5353        if (isset($_GET[$solo])) $solog[$i]=intval($_GET[$solo]); else $solog[$i]='0';
    5454
Note: See TracChangeset for help on using the changeset viewer.