supress some useless php warnings

This commit is contained in:
Lars Kneschke 2006-07-24 09:15:40 +00:00
parent 32d74d5d93
commit 1c833f8604

View File

@ -159,16 +159,16 @@
$image3 = "'kfm_home.png'";
}
$parentName = htmlspecialchars($parentName, ENT_QUOTES, $this->charset);
$longName = htmlspecialchars($longName, ENT_QUOTES, $this->charset);
$folder_name = htmlspecialchars($folder_name, ENT_QUOTES, $this->charset);
$parentName = @htmlspecialchars($parentName, ENT_QUOTES, $this->charset);
$longName = @htmlspecialchars($longName, ENT_QUOTES, $this->charset);
$folder_name = @htmlspecialchars($folder_name, ENT_QUOTES, $this->charset);
$folder_tree_new .= "tree.insertNewItem('$parentName','$longName','$folder_name',onNodeSelect,$image1,$image2,$image3,'$entryOptions');\n";
if($_displayCheckBox)
$folder_tree_new .= "tree.setCheck('$longName','".(int)$obj->subscribed."');";
}
$selected = htmlspecialchars($_selected, ENT_QUOTES, $this->charset);
$selected = @htmlspecialchars($_selected, ENT_QUOTES, $this->charset);
$folder_tree_new.= "tree.closeAllItems(0);tree.openItem('$selected');</script>";
return $folder_tree_new;