mirror of
https://github.com/e107inc/e107.git
synced 2025-08-17 20:01:47 +02:00
Issue #4283 - Update deprecated sql method usage. Removed old code.
This commit is contained in:
@@ -83,7 +83,7 @@ for($i = $start_year; $i <= $end_year; $i++)
|
||||
if ($i == $req_year)
|
||||
{
|
||||
$year_selector .= " selected='selected'";
|
||||
if ($bcSql->db_Select("news", "news_id, news_datestamp, news_class", "news_datestamp > {$start} AND news_datestamp < {$end}"))
|
||||
if ($bcSql->select("news", "news_id, news_datestamp, news_class", "news_datestamp > {$start} AND news_datestamp < {$end}"))
|
||||
{
|
||||
while ($news = $bcSql->fetch())
|
||||
{
|
||||
|
Reference in New Issue
Block a user