From 1c833f8604b4c8f4e33e855428f8706192fc490d Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Mon, 24 Jul 2006 09:15:40 +0000 Subject: [PATCH] supress some useless php warnings --- felamimail/inc/class.uiwidgets.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/felamimail/inc/class.uiwidgets.inc.php b/felamimail/inc/class.uiwidgets.inc.php index 70b74a73fa..597736c598 100644 --- a/felamimail/inc/class.uiwidgets.inc.php +++ b/felamimail/inc/class.uiwidgets.inc.php @@ -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');"; return $folder_tree_new;