Changeset 56841 in spip-zone


Ignore:
Timestamp:
Jan 9, 2012, 3:03:00 PM (8 years ago)
Author:
kent1@…
Message:

Un array vide si on souhaite virer les langues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/trad-lang/trad-lang_spip2/tradlang_pipelines.php

    r56832 r56841  
    157157                if (is_array($langues_preferees = _request('langues_preferees'))) {
    158158                        $flux['data']['langues_preferees'] = serialize($langues_preferees);
     159                }else{
     160                        $flux['data']['langues_preferees'] = serialize(array());
    159161                }
    160162        }
Note: See TracChangeset for help on using the changeset viewer.