[openads-Commits] r10019 - branches/4.14.0-develop_fs_mc/obj

0 views
Skip to first unread message

mbi...@hephaestos.ovh.adullact.org

unread,
Apr 14, 2021, 11:40:19 AM4/14/21
to openmairi...@googlegroups.com
Author: mbideau
Date: 2021-04-14 17:40:17 +0200 (Wed, 14 Apr 2021)
New Revision: 10019

Modified:
branches/4.14.0-develop_fs_mc/obj/om_dbform.class.php
Log:
fix: typo dans l'obtention de la 'region' dans les metadonnees

Modified: branches/4.14.0-develop_fs_mc/obj/om_dbform.class.php
===================================================================
--- branches/4.14.0-develop_fs_mc/obj/om_dbform.class.php 2021-04-14 15:22:44 UTC (rev 10018)
+++ branches/4.14.0-develop_fs_mc/obj/om_dbform.class.php 2021-04-14 15:40:17 UTC (rev 10019)
@@ -1244,7 +1244,7 @@
protected function getDossierRegion($champ = null) {
$commune = $this->getDossierCommuneObject();
if (! empty($commune)) {
- return $commune->getVal('region');
+ return $commune->getVal('reg');
}
else {
$params = $this->f->getCollectivite($this->getDossierObject()->getVal('om_collectivite'));

Reply all
Reply to author
Forward
0 new messages