Skip to content

Commit 6f7a637

Browse files
nworrgithub-actions[bot]
authored andcommitted
fix(admin) use Repository class insteaf of deprecated lizmapRepository
1 parent df6eeed commit 6f7a637

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lizmap/modules/admin/controllers/maps.classic.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

33
use Jelix\FileUtilities\Path;
4+
use Lizmap\Project\Repository;
45
use Lizmap\Project\UnknownLizmapProjectException;
56
use Lizmap\Request\Proxy;
67
use LizmapAdmin\RepositoryRightsService;
@@ -530,7 +531,7 @@ public function saveSection()
530531

531532
// Repository data
532533
$data = array();
533-
foreach (lizmapRepository::getProperties() as $prop) {
534+
foreach (Repository::getProperties() as $prop) {
534535
$data[$prop] = $form->getData($prop);
535536
// Check paths
536537
if ($prop == 'path') {

0 commit comments

Comments
 (0)