Explorar o código

Fixes broken image link for project markers.

Alan Lam %!s(int64=8) %!d(string=hai) anos
pai
achega
b6be1d1dcc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controllers/map_overview_ajax.php

+ 1 - 1
controllers/map_overview_ajax.php

@@ -141,7 +141,7 @@ if($submit) {
 
 					$icon = null;
 					if(file_exists("public/img/markers/$filename.png")) {
-						$icon = "/img/markers/$filename.png";
+						$icon = "$filename.png";
 					}
 
 					$output[] = (object) [