phpBB

Code Changes

File: includes/search/search.php

  Unmodified   Added   Modified   Removed
Line 295Line 295
			$sql_where = '';
foreach ($authors as $author)
{

			$sql_where = '';
foreach ($authors as $author)
{

				$sql_where .= (($sql_where) ? ' OR ' : '') . 'search_authors LIKE \'% ' . (int) $author . ' %\'';

				$sql_where .= (($sql_where) ? ' OR ' : '') . 'search_authors ' . $db->sql_like_expression($db->any_char . ' ' . (int) $author . ' ' . $db->any_char);

			}

$sql = 'SELECT search_key

			}

$sql = 'SELECT search_key