diff --git a/backup/moodle2/backup_geogebra_activity_task.class.php b/backup/moodle2/backup_geogebra_activity_task.class.php index 72299d2..4860f5a 100644 --- a/backup/moodle2/backup_geogebra_activity_task.class.php +++ b/backup/moodle2/backup_geogebra_activity_task.class.php @@ -59,11 +59,11 @@ static public function encode_content_links($content) { // Link to the list of geogebras $search="/(".$base."\/mod\/geogebra\/index.php\?id\=)([0-9]+)/"; - $content= preg_replace($search, '$@geogebraINDEX*$2@$', $content); + $content= preg_replace($search, '$@GEOGEBRAINDEX*$2@$', $content); // Link to geogebra view by moduleid $search="/(".$base."\/mod\/geogebra\/view.php\?id\=)([0-9]+)/"; - $content= preg_replace($search, '$@geogebraVIEWBYID*$2@$', $content); + $content= preg_replace($search, '$@GEOGEBRAVIEWBYID*$2@$', $content); return $content;