Translations added- Modified

Translations added - Modified
This commit is contained in:
norahmollo
2013-07-17 14:06:22 -04:00
parent b30bd75a1d
commit 841d0f15a5
2 changed files with 2 additions and 3 deletions

View File

@@ -435,7 +435,7 @@ class Dashboard extends Controller
$dataset->setFetchmode( ResultSet::FETCHMODE_ASSOC );
$dataset->next();
while ($row = $dataset->getRow()) {
if (strstr($row['DAS_TITLE'], '_')) {
if (strstr($row['DAS_TITLE'], '*')) {
$row['DAS_TITLE'] = str_replace('*', '', $row['DAS_TITLE']);
$row['DAS_TITLE'] = G::LoadTranslationPlugin('advancedDashboards', $row['DAS_TITLE']);
}
@@ -450,7 +450,6 @@ class Dashboard extends Controller
} catch (Exception $error) {
throw $error;
}
//G::pr($dashlets);die;
return $dashlets;
}