Skip to content

Commit

Permalink
ok, maybe this will get it
Browse files Browse the repository at this point in the history
  • Loading branch information
GM-Script-Writer-62850 committed Apr 10, 2015
1 parent 2e7ce1e commit 247c49c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion res/inc/scan.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,15 @@
$max++;
}
foreach($set as $id => $opt){
$id=html($id);
echo '<a href="javascript:void(0);" onclick="config({';
$str='';
foreach($opt as $key => $val){
$str.="'$key':".(is_numeric($val)?$val:"'$val'").",";
}
echo $str.
"'set_save':'".str_replace("'","\\'",$id)."'});".
'">'.html($id).'</a>';
'">'.$id.'</a>';
$i++;
if($i<$max)
echo " | ";
Expand Down

0 comments on commit 247c49c

Please sign in to comment.