Fixed outgoing mails disabled issue

Fixed language

Fixed languag and email create/edit issue

v1.10.2 build updates

Fixed codacy issues
This commit is contained in:
Manish Verma
2018-10-12 15:51:15 +05:30
committed by Manish Verma
parent ac4e053c2d
commit 6a3d093b4c
12 changed files with 33 additions and 13 deletions

View File

@@ -26,7 +26,10 @@ class PhpMailController extends Controller
public function fetch_smtp_details($id)
{
$emails = Emails::where('id', '=', $id)->first();
$emails = Emails::where(
[['id', '=', $id],
['sending_status', '=', 1]])
->first();
return $emails;
}