]> _ Git - cubeextranet.git/commitdiff
fix #2006 @1.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 26 Mar 2018 12:37:39 +0000 (12:37 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 26 Mar 2018 12:37:39 +0000 (12:37 +0000)
inc/ws/Util/html5/master/class.ws.html5.links.php

index b55761156288c40e83ab9f64234404a305f5856a..192dc7c5fb56999e76a6100b25d8f3c0f03f64e8 100644 (file)
@@ -884,7 +884,7 @@ class htmlMultimediaLink extends wsHTML5Link {
                        }
 
                        foreach ($this->_config['inject'] as $i) {
-                               $infos = ['path' => 'data/links/' . $this->alternative . '/'];
+                               $infos = ['path' => 'data/links/' . str_replace('.', '_', $this->alternative) . '/'];
                                $i = str_replace('$id', '"#l_' . $this->id . '"', $i);
                                $i = str_replace('$init', CubeIT_Util_Json::encode($infos), $i);
                                $this->compiler->htmlmultimedia[] = $i;