From e6756a207296d5df20ad3e569f3e107abb0de059 Mon Sep 17 00:00:00 2001 From: William MARTIN Date: Fri, 11 Mar 2011 14:27:37 +0100 Subject: [PATCH] Fix issue 633 : Unset variable ! --- src/IDF/Form/ReviewFileComment.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/IDF/Form/ReviewFileComment.php b/src/IDF/Form/ReviewFileComment.php index fed70bf..7563b5f 100644 --- a/src/IDF/Form/ReviewFileComment.php +++ b/src/IDF/Form/ReviewFileComment.php @@ -64,6 +64,8 @@ class IDF_Form_ReviewFileComment extends Pluf_Form if ($this->user->hasPerm('IDF.project-owner', $this->project) or $this->user->hasPerm('IDF.project-member', $this->project)) { $this->show_full = true; + } else { + $this->show_full = false; } if ($this->show_full) { $this->fields['summary'] = new Pluf_Form_Field_Varchar(