From dad7acb5b41dedd050cc11367684066bc174c7a1 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 14 Jun 2013 16:07:15 +0200 Subject: [PATCH] show clipboard in header even if not in the context of a folder but do not allow to move clipboard into the current folder even there is none --- views/bootstrap/class.Bootstrap.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index eee008da2..f7863e865 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -187,7 +187,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; echo " \n"; $clipboard = $this->params['session']->getClipboard(); - if (!$this->params['user']->isGuest() && isset($this->params['folder']) && (count($clipboard['docs']) + count($clipboard['folders'])) > 0) { + if (!$this->params['user']->isGuest() && (count($clipboard['docs']) + count($clipboard['folders'])) > 0) { echo "
\n"; echo " \n"; echo " \n";