Skip to content

Commit

Permalink
ok, maybe this will get it again
Browse files Browse the repository at this point in the history
  • Loading branch information
GM-Script-Writer-62850 committed Apr 11, 2015
1 parent 247c49c commit 514ab34
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions res/inc/scan.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,14 @@
$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)."'});".
'">'.$id.'</a>';
"'set_save':'".html(js($id))."'});".
'">'.html($id).'</a>';
$i++;
if($i<$max)
echo " | ";
Expand Down

0 comments on commit 514ab34

Please sign in to comment.