Changeset 22670 in spip-zone


Ignore:
Timestamp:
Sep 20, 2008, 4:00:09 PM (13 years ago)
Author:
marcimat@…
Message:
  • connect.php n'a pas forcement ce nom. On utilise la constante adaptée.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_dev_/extras2/inc/extras.php

    r21300 r22670  
    4141        $ntables = array();
    4242        $nchamps = array();
    43         foreach ($tout['connect'] as $table => $champs) {
     43        foreach ($tout[_FILE_CONNECT_INS] as $table => $champs) {
    4444                if (!isset($tables_spip[$table]['field']))
    4545                        $nchamps[$table] = $champs;
     
    4949        }
    5050
    51         unset($tout['connect']);
     51        unset($tout[_FILE_CONNECT_INS]);
    5252        if($nchamps)
    53                 $tout['connect'] = $nchamps;
     53                $tout[_FILE_CONNECT_INS] = $nchamps;
    5454
    5555        return $tout;
Note: See TracChangeset for help on using the changeset viewer.