Changeset 254 for trunk/admin/modules/Elezioni/ele_configurazione.php
- Timestamp:
- Mar 13, 2018, 9:26:23 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_configurazione.php
r247 r254 224 224 if($files!=''){ 225 225 $sql = mysql_query("SELECT id FROM ".$prefix."_ele_temi where tema='$files'", $dbi); 226 list($idwid) = mysql_fetch_row($sql); 227 $id = intval($idwid); 226 if($sql){ 227 list($idwid) = mysql_fetch_row($sql); 228 $id = intval($idwid); 229 } 228 230 if (empty($id)) { // inserisce widget db se non esiste 229 231 $result = mysql_query("insert into ".$prefix."_ele_temi (id,tema) values ( NULL,'$files')", $dbi);
Note:
See TracChangeset
for help on using the changeset viewer.