Changeset 125382 in spip-zone


Ignore:
Timestamp:
Jul 27, 2020, 6:53:24 PM (9 days ago)
Author:
Eric Lupinacci
Message:

Corriger le nom du champ identifiant le code ISO

Location:
_plugins_/isocode/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/isocode/trunk

    • Property subgit:lock:25a9f422cd2cd8d14940d626ac608b840c20083e deleted
    • Property subgit:lock:9b82a4d849c2d7fc08ebdc64d74f1182ebf96d1b set to 2020-07-27T21:01:26.881
  • _plugins_/isocode/trunk/ezrest/isocode.php

    r125381 r125382  
    212212                $where = array();
    213213                $codes_subdivision = array_column($subdivisions['subdivisions'], 'code_3166_2');
    214                 $where[] = sql_in('code_3166_2', $codes_subdivision);
     214                $where[] = sql_in('code_iso', $codes_subdivision);
    215215
    216216                $codes = sql_allfetsel('*', 'spip_iso3166alternates', $where);
Note: See TracChangeset for help on using the changeset viewer.