Skip to content
Permalink
Browse files

support MySQLi Connection (mysqli API)

  • Loading branch information...
nao-pon committed Sep 13, 2013
1 parent d342362 commit 232ca21be75d6de431154fd771c67b02e8a3258e
Showing with 1 addition and 1 deletion.
  1. +1 −1 xoops_trust_path/modules/gnavi/include/x20_keepblockoptions.inc.php
@@ -62,7 +62,7 @@
}
for ($i = 1 ; $i <= $count ; $i++) {
$sql = "SELECT name,options FROM ".$db->prefix('newblocks')." WHERE mid=".$mid." AND func_num=".$i." AND show_func='".mysql_real_escape_string($modversion['blocks'][$i]['show_func'])."' AND func_file='".mysql_real_escape_string($modversion['blocks'][$i]['file'])."'";
$sql = "SELECT name,options FROM ".$db->prefix('newblocks')." WHERE mid=".$mid." AND func_num=".$i." AND show_func=".$db->quoteString($modversion['blocks'][$i]['show_func'])." AND func_file=".$db->quoteString($modversion['blocks'][$i]['file']);
$fresult = $db->query($sql);
$fblock = $db->fetchArray($fresult);
if ( isset( $fblock['options'] ) ) {

0 comments on commit 232ca21

Please sign in to comment.
You can’t perform that action at this time.