Module: nagvis Branch: master Commit: 6ddc0918c98ff1ee5cdd76f05716e3b23ca88cab URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=6ddc0918c98ff1ee5cdd76f05716e3b23ca88cab
Author: Lars Michelsen <[email protected]> Date: Wed Jun 9 22:45:34 2010 +0200 Fixed wrong exception throwing --- share/server/core/ajax_handler.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/share/server/core/ajax_handler.php b/share/server/core/ajax_handler.php index ab1e578..16a4b5b 100644 --- a/share/server/core/ajax_handler.php +++ b/share/server/core/ajax_handler.php @@ -152,7 +152,7 @@ try { // Handle the given action in the module $sContent = $MODULE->handleAction(); } else { - throw NagVisException($CORE->getLang()->getText('The given action is not valid')); + throw new NagVisException($CORE->getLang()->getText('The given action is not valid')); } } catch(NagVisException $e) { new GlobalMessage('ERROR', $e->getMessage()); ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
