Completed
Push — master ( f352e1...430362 )
by Maxime
13:33
created
src/Distilleries/MailerSaver/Helpers/Mail.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             $subject = view(
41 41
                 array(
42 42
                     'template'   => $subject_template,
43
-                    'cache_key'  => uniqid() . rand(),
43
+                    'cache_key'  => uniqid().rand(),
44 44
                     'updated_at' => 0
45 45
                 ),
46 46
                 $data
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 
80 80
 
81 81
         $model = $this->model->initByTemplate($view);
82
-        $template = $model->where('action',$view)->get()->last();
82
+        $template = $model->where('action', $view)->get()->last();
83 83
         $plain = (!empty($template)) ? $template->getPlain() : $plain;
84 84
 
85 85
         if (!empty($template))
Please login to merge, or discard this patch.