Kaynağa Gözat

Fixes broken image link for project markers.

Alan Lam 8 yıl önce
ebeveyn
işleme
b6be1d1dcc
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      controllers/map_overview_ajax.php

+ 1 - 1
controllers/map_overview_ajax.php

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