From d16d35dc808f3ef8cd3d3dc12ed59deba4dfe760 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 25 Jul 2010 09:25:48 +0000 Subject: [PATCH] localised error message and adding correct continue link --- mod/lesson/lesson.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/lesson/lesson.php b/mod/lesson/lesson.php index 06e233ee6bd..c875ef220fc 100644 --- a/mod/lesson/lesson.php +++ b/mod/lesson/lesson.php @@ -125,7 +125,7 @@ switch ($action) { $pages = $lesson->load_all_pages(); if (!array_key_exists($pageid, $pages) || ($after!=0 && !array_key_exists($after, $pages))) { - print_error('Unable to find the page to move'); + print_error('cannotfindpages', 'lesson', "$CFG->wwwroot/mod/lesson/edit.php?id=$cm->id"); } $pagetomove = clone($pages[$pageid]); unset($pages[$pageid]);