Ignore:
Timestamp:
Apr 24, 2019, 10:44:58 PM (6 years ago)
Author:
roby
Message:
 
File:
1 edited

Legend:

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

    r262 r288  
    3939if (isset($_GET['id_comune'])) $id_comune=intval($_GET['id_comune']); else $id_comune='0';
    4040if (isset($_GET['ops'])) $ops=intval($_GET['ops']); else $ops='0';
     41if (isset($_GET['sololista'])) $sololista=intval($_GET['sololista']); else $sololista='0';
    4142if (isset($_GET['delete'])) $delete=intval($_GET['delete']); else $delete='';
    4243if (isset($_GET['circo'])) get_magic_quotes_gpc() ? $circo=$_GET['circo']:$circo=addslashes($_GET['circo']); else $circo='';
     
    7980                if($disgiunto){
    8081                }
     82                $sql="update ".$prefix."_ele_sezioni set solo_lista='$sololista' where id_cons='$id_cons' and id_sez='$id_sez'";
     83                $result = $dbi->prepare("$sql");
     84                $result->execute();
    8185                $sql="select num_gruppo from ".$prefix."_ele_voti_gruppo where id_cons='$id_cons' and id_sez='$id_sez'";
    8286                $result = $dbi->prepare("$sql");
Note: See TracChangeset for help on using the changeset viewer.