From 02cf937e55fb04e7b2a910f75928d058e4a14dc0 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 20 Feb 2019 08:09:12 -0700 Subject: [PATCH] Update contact_edit.php --- app/contacts/contact_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/contacts/contact_edit.php b/app/contacts/contact_edit.php index ee318ddab1..9102a6f22a 100644 --- a/app/contacts/contact_edit.php +++ b/app/contacts/contact_edit.php @@ -307,8 +307,8 @@ } //set the mode - if (isset($_SESSION['theme']['qr_image'])) { - if (strlen($_SESSION['theme']['qr_image']) > 0) { + if (isset($_SESSION['theme']['qr_image']['text'])) { + if (strlen($_SESSION['theme']['qr_image']['text']) == 0) { $mode = '4'; } else {