aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/TreeView.class.php
diff options
context:
space:
mode:
authorDavid Siegfried <david.siegfried@uni-vechta.de>2022-07-12 14:07:04 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2022-07-12 14:07:04 +0000
commitf5670d7b3961d4b23c41d356dd251344e0216410 (patch)
treed4097fe5146cb827db5207dd6c19a5a2477da1d5 /lib/classes/TreeView.class.php
parent65950e3e53cd14a7d04524f99171e5d60163be34 (diff)
declare undeclared variables, fixes #1235
Closes #1235 Merge request studip/studip!750
Diffstat (limited to 'lib/classes/TreeView.class.php')
-rw-r--r--lib/classes/TreeView.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/TreeView.class.php b/lib/classes/TreeView.class.php
index 2223cc1..b2d8f5b 100644
--- a/lib/classes/TreeView.class.php
+++ b/lib/classes/TreeView.class.php
@@ -289,6 +289,7 @@ class TreeView {
* @param string $item_id
*/
function printItemDetails($item_id){
+ $level_output = '';
if (!$this->tree->hasKids($item_id) || !$this->open_ranges[$item_id] || $item_id == $this->start_item_id)
$level_output = "<td class=\"blank\" background=\"" . Assets::image_path('forumleer.gif') . "\">"
. Assets::img('forumleer.gif', ['size' => '10@20'])
@@ -326,7 +327,6 @@ class TreeView {
echo "<td class=\"printcontent\" width=\"100%\"><br>";
echo $this->getItemContent($item_id);
echo "<br></td></tr></table>";
- return;
}
/**