- Code: Select all
if ($topic_id && ($topic_id == $result_topic_id))
{
$template->assign_vars(array(
'SEARCH_TOPIC' => $topic_title,
'U_SEARCH_TOPIC' => $view_topic_url
));
}
}
unset($rowset);
// 4seven / First Topic [pics] on Forum Index / 2010
include($phpbb_root_path . 'includes/first_x_in_forum_index_config.' . $phpEx);
if (!isset($affected_forum_att))
{
$affected_forum_att[] = 0;
}
if (!isset($affected_forum_img))
{
$affected_forum_img[] = 0;
}
include($phpbb_root_path . 'includes/first_x_in_forum_search.' . $phpEx);
// 4seven / First Topic [pics] on Forum Index / 2010
and
includes/first_x_in_forum_search.php
- Code: Select all
<?php
/**
*
* @package First Topic [pic] on Forum Index v.0.0.6
* @version $Id: first_x_in_forum_index_search.php 2356 2356 2010-11-04 03:25:05Z 4seven $
* @copyright (c) 2010 / 4seven
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (!isset($affected_forum_att))
{
$affected_forum_att[] = 0;
}
if (!isset($affected_forum_img))
{
$affected_forum_img[] = 0;
}
// First Topic [pic] on Forum Index / 4seven / 2010
// basics
$template->assign_vars(array(
'ACTIVE_SEARCH' => ($active_4_search == 'yes') ? true : false,
'EMPTY_IMG' => ($no_pic_img == 'yes') ? $phpbb_root_path . 'images/' . 'no_img.jpg' : false,
'PLACEHOLDER' => (($no_pic_img == 'no') && ($no_img_placeholder == 'yes')) ? true : false,
'BORDER_COLOR' => (isset($border_color)) ? $border_color : '',
'CONVERT_SIZE' => $convert_max_size + 6,
'CONVERT_DIV_SIZE' => $convert_max_size + 64,
New error
SQL ERROR [ mysqli ]
[0]
SQL
No values specified for SQL IN comparison
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()
FILE: [ROOT]/includes/db/dbal.php
LINE: 432
CALL: dbal->sql_error()
FILE: [ROOT]/includes/first_x_in_forum_search.php
LINE: 53
CALL: dbal->sql_in_set()
FILE: [ROOT]/search.php
LINE: 1147
CALL: include('[ROOT]/includes/first_x_in_forum_search.php')