From f9fa8f0b702162114e096026cd42812f50f250e7 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 26 Mar 2013 20:25:40 +0100 Subject: [PATCH] do not access empty variable --- views/blue/class.ObjectCheck.php | 2 +- views/bootstrap/class.ObjectCheck.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/views/blue/class.ObjectCheck.php b/views/blue/class.ObjectCheck.php index e17ddc525..6a9eb098e 100644 --- a/views/blue/class.ObjectCheck.php +++ b/views/blue/class.ObjectCheck.php @@ -46,7 +46,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Blue_Style { for ($i = 1; $i < count($tmppath); $i++) { print "/".htmlspecialchars($tmppath[$i]->getName()); } - print $foldername; + print $folder->getName(); print ""; $owner = $folder->getOwner(); diff --git a/views/bootstrap/class.ObjectCheck.php b/views/bootstrap/class.ObjectCheck.php index df3b0a4c0..077376bcf 100644 --- a/views/bootstrap/class.ObjectCheck.php +++ b/views/bootstrap/class.ObjectCheck.php @@ -46,7 +46,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Bootstrap_Style { for ($i = 1; $i < count($tmppath); $i++) { print "/".htmlspecialchars($tmppath[$i]->getName()); } - print $foldername; + print $folder->getName(); print ""; $owner = $folder->getOwner();