Some minor bug fixes
This commit is contained in:
+4
-4
@@ -271,9 +271,9 @@ class Livetrail extends Main
|
||||
//Send Update Email
|
||||
if($bNewMsg) {
|
||||
$bSuccess = $this->sendEmail();
|
||||
$sDesc = $bSuccess?'mail_sent':'mail_failure';
|
||||
$sDesc = Mask::LANG_PREFIX.($bSuccess?'email.sent':'email.failure');
|
||||
}
|
||||
else $sDesc = 'no_new_msg';
|
||||
else $sDesc = Mask::LANG_PREFIX.'spot.no_new_msg';
|
||||
|
||||
return self::getJsonResult($bSuccess, $sDesc);
|
||||
}
|
||||
@@ -711,14 +711,14 @@ class Livetrail extends Main
|
||||
|
||||
if($bSuccess) {
|
||||
$bSuccess = $this->sendEmail();
|
||||
$sDesc = $bSuccess?'mail_sent':'mail_failure';
|
||||
$sDesc = Mask::LANG_PREFIX.($bSuccess?'email.sent':'email.failure');
|
||||
}
|
||||
else $sDesc = 'error.commit_db';
|
||||
|
||||
return self::getJsonResult($bSuccess, $sDesc);
|
||||
}
|
||||
|
||||
public function getAdminSettings($sType='') {
|
||||
public function getAdminSettings() {
|
||||
$oFeed = new Feed($this->oDb);
|
||||
$asData = array(
|
||||
'project' => $this->oProject->getProjects(),
|
||||
|
||||
Reference in New Issue
Block a user