1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 18:14:26 +02:00

Featurebox plugin - Code cleanup

This commit is contained in:
Moc
2014-09-11 20:57:52 +02:00
parent 7987a15ec7
commit 096f4d08db
5 changed files with 18 additions and 19 deletions

View File

@@ -19,9 +19,9 @@ $eplug_rss_feed[] = $feed;
//##### create rss data, return as array $eplug_rss_data -----------------------------------
$rss = array();
$sqlrss = new db;
if($items = $sqlrss -> db_Select('featurebox', "*", "fb_class = 0 DESC LIMIT 0,".$this->limit )){
if($items = $sqlrss->select('featurebox', "*", "fb_class = 0 DESC LIMIT 0,".$this->limit )){
$i=0;
while($rowrss = $sqlrss -> db_Fetch()){
while($rowrss = $sqlrss->fetch()){
$rss[$i]['author'] = '';
$rss[$i]['author_email'] = '';
$rss[$i]['link'] = '';