Browse Source

Minor - Fix fatal error replace http_build_url with http_build_query

jmontoyaa 6 years ago
parent
commit
16d682b4f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/exercise/exercise_show.php

+ 1 - 1
main/exercise/exercise_show.php

@@ -1106,7 +1106,7 @@ if ($origin != 'learnpath') {
     if (!isset($_GET['fb_type'])) {
         $lp_mode = Session::read('lp_mode');
         $url = '../lp/lp_controller.php?'.api_get_cidreq().'&';
-        $url .= http_build_url([
+        $url .= http_build_query([
             'action' => 'view',
             'lp_id' => $learnpath_id,
             'lp_item_id' => $learnpath_item_id,