Permalink
Browse files

Fixed condition error into flash_news.php

git-svn-id: http://svn.assembla.com/svn/icy_phoenix/ip/trunk@143 e0e46c49-be69-4f5a-ad62-21024a331aea
  • Loading branch information...
1 parent 1cf9c9a commit d2af693ca3deadd07041c8784b19812e9ecf0d5c @MightyGorgon committed Dec 5, 2009
Showing with 0 additions and 6 deletions.
  1. +0 −6 flash_news.php
View
@@ -125,13 +125,7 @@ function xml_file_content($file_content)
" . $sql_news . "
ORDER BY " . $sql_sort . "
LIMIT " . $news_items;
- $db->sql_return_on_error(true);
$result = ($news_recent ? $db->sql_query($sql, 0, 'posts_flash_', POSTS_CACHE_FOLDER) : $db->sql_query($sql));
- $db->sql_return_on_error(false);
- if (!$result)
- {
- die('Error');
- }
$xml_content = '';
while($row = $db->sql_fetchrow($result))

0 comments on commit d2af693

Please sign in to comment.