From bd61c38d342b6ce9ee0124797beca1a35cddb176 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Sat, 17 Aug 2002 20:04:54 +0000 Subject: [PATCH] Fixed some spelling errors in the error messages --- lib/WebGUI.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/WebGUI.pm b/lib/WebGUI.pm index 8c1ce9ce1..7125735fd 100644 --- a/lib/WebGUI.pm +++ b/lib/WebGUI.pm @@ -70,10 +70,10 @@ sub page { if (WebGUI::Privilege::canViewPage()) { $cmd = "WebGUI::Wobject::".${$wobject}{namespace}; $w = eval{$cmd->new($wobject)}; - WebGUI::ErrorHandler::fatalError("Couldn't instanciate wojbect: ${$wobject}{namespace}. Root Cause: ".$@) if($@); + WebGUI::ErrorHandler::fatalError("Couldn't instanciate wobject: ${$wobject}{namespace}. Root Cause: ".$@) if($@); $cmd = "www_".$session{form}{func}; $wobjectOutput = eval{$w->$cmd}; - WebGUI::ErrorHandler::fatalError("Web method doesn't exist in wojbect: ${$wobject}{namespace} / $session{form}{func}. Root Cause: ".$@) if($@); + WebGUI::ErrorHandler::fatalError("Web method doesn't exist in wobject: ${$wobject}{namespace} / $session{form}{func}. Root Cause: ".$@) if($@); } else { $wobjectOutput = WebGUI::Privilege::noAccess(); } @@ -135,12 +135,12 @@ sub page { $wobject = \%hash; $cmd = "WebGUI::Wobject::".${$wobject}{namespace}; $w = eval{$cmd->new($wobject)}; - WebGUI::ErrorHandler::fatalError("Couldn't instanciate wojbect: ${$wobject}{namespace}. Root cause: ".$@) if($@); + WebGUI::ErrorHandler::fatalError("Couldn't instanciate wobject: ${$wobject}{namespace}. Root cause: ".$@) if($@); if ($w->inDateRange) { $contentHash{${$wobject}{templatePosition}} .= '
'; $contentHash{${$wobject}{templatePosition}} .= ''; $contentHash{${$wobject}{templatePosition}} .= eval{$w->www_view}; - WebGUI::ErrorHandler::fatalError("No view method in wojbect: ${$wobject}{namespace}. Root cause: ".$@) if($@); + WebGUI::ErrorHandler::fatalError("No view method in wobject: ${$wobject}{namespace}. Root cause: ".$@) if($@); $contentHash{${$wobject}{templatePosition}} .= "
\n\n"; } }