From a5eeffe3bd68c2fc06c20dc9633ab504a7ace0c2 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 14 Oct 2010 11:23:56 +0000 Subject: Fixes #2514 - separating action error messages for undefined and no action script file git-svn-id: http://code.elgg.org/elgg/trunk@7080 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/actions.php') diff --git a/engine/lib/actions.php b/engine/lib/actions.php index d164b14d6..18475de27 100644 --- a/engine/lib/actions.php +++ b/engine/lib/actions.php @@ -97,7 +97,7 @@ function action($action, $forwarder = "") { // @todo make this better! if ($event_result) { if (!include($CONFIG->actions[$action]['file'])) { - register_error(sprintf(elgg_echo('actionundefined'), $action)); + register_error(sprintf(elgg_echo('actionnotfound'), $action)); } } } else { -- cgit v1.2.3