Check where consistency

This commit is contained in:
James Brooks
2016-10-19 12:29:47 +01:00
parent 468b2a0b7a
commit 67b09af833
11 changed files with 14 additions and 16 deletions
@@ -56,7 +56,7 @@ class UpdateIncidentCommandHandler
*/
public function handle(UpdateIncidentCommand $command)
{
if ($template = IncidentTemplate::where('slug', $command->template)->first()) {
if ($template = IncidentTemplate::where('slug', '=', $command->template)->first()) {
$command->message = $this->parseTemplate($template, $command);
}