From 20a3f08de1ba7dace446de4db8689906a2a390cc Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Wed, 31 Oct 2007 23:21:02 +0000 Subject: [PATCH] Fix warnings. Signed-off-by: Florent Bruneau git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@297 9869982d-c50d-0410-be91-f2a2ec7c7c7b --- banana/tree.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/banana/tree.inc.php b/banana/tree.inc.php index 9031c29..667925f 100644 --- a/banana/tree.inc.php +++ b/banana/tree.inc.php @@ -92,7 +92,7 @@ class BananaTree */ public function &show() { - if (!is_null($this->displaid)) { + if (!is_null($this->displaid) || is_null($this->data)) { return $this->displaid; } static $t_e, $u_h, $u_ht, $u_vt, $u_l, $u_f, $r_h, $r_ht, $r_vt, $r_l, $r_f; -- 2.1.4