From 65b9c7e896a1f5c3bd8a8b62363895108b88f7d4 Mon Sep 17 00:00:00 2001 From: Mostafa El Bakly Date: Sun, 30 Sep 2018 11:45:03 +0200 Subject: [PATCH] Editing Count to support higher version of php --- src/views/messenger.blade.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/messenger.blade.php b/src/views/messenger.blade.php index 99bd3eb..6e78f68 100644 --- a/src/views/messenger.blade.php +++ b/src/views/messenger.blade.php @@ -18,7 +18,11 @@
- @if (count($messages) === 20) + @if( is_array($messages) ) + @if (count($messages) === 20) +
+ @endif +
@else

Conversation started

@@ -60,7 +64,7 @@