diff --git a/index.php b/index.php
index 2ec9af4..ed3753c 100644
--- a/index.php
+++ b/index.php
@@ -116,8 +116,8 @@ while($oRow = mysql_fetch_object($hResult))
$img = get_screenshot_img($oRow->appId);
echo '
- | '.$oApp->data->appName.' |
- '.trim_description($oApp->data->description).' |
+ '.$oApp->sName.' |
+ '.trim_description($oApp->sDescription).' |
'.$img.' |
';
}
@@ -144,11 +144,10 @@ while($oRow = mysql_fetch_object($hResult))
$oApp = new Application($oRow->appId);
// image
$img = get_screenshot_img($oRow->appId);
- $aDesc = explode("\n",$oApp->data->description,2);
echo '
- | '.$oApp->data->appName.' |
- '.$aDesc[0].' |
+ '.$oApp->sName.' |
+ '.trim_description($oApp->sDescription).' |
'.$img.' |
';
}