From 559ec802480d3a8cb19bb606ad597039c76c834a Mon Sep 17 00:00:00 2001 From: "Fedor A. Fetisov" Date: Sun, 22 Dec 2013 04:40:25 +0400 Subject: [PATCH] Add variables check into the thread processor view --- src/mibew/view/thread_log.php | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/mibew/view/thread_log.php b/src/mibew/view/thread_log.php index 2f474133..cf3645f1 100644 --- a/src/mibew/view/thread_log.php +++ b/src/mibew/view/thread_log.php @@ -18,7 +18,7 @@ $page['title'] = getlocal("thread.chat_log"); function tpl_content() { global $page, $mibewroot, $errors; -$chatthread = $page['thread']; +$chatthread = isset($page['thread']) ? $page['thread'] : array(); ?> @@ -32,7 +32,7 @@ $chatthread = $page['thread']; :
- +

@@ -40,7 +40,7 @@ $chatthread = $page['thread']; :
- +

@@ -48,11 +48,11 @@ $chatthread = $page['thread']; :
- +

- +
:
@@ -62,7 +62,7 @@ $chatthread = $page['thread'];
- +
:
@@ -76,16 +76,18 @@ $chatthread = $page['thread']; :
- - () + + ()