dépôts
/
lhc
/
web
/
www.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PLUGINS] ~maj globale
[lhc/web/www.git]
/
www
/
plugins
/
menus_1
/
action
/
editer_menu.php
diff --git
a/www/plugins/menus_1/action/editer_menu.php
b/www/plugins/menus_1/action/editer_menu.php
index
b93b43e
..
8c60ee9
100644
(file)
--- a/
www/plugins/menus_1/action/editer_menu.php
+++ b/
www/plugins/menus_1/action/editer_menu.php
@@
-23,7
+23,7
@@
function action_editer_menu_dist($arg=null) {
if ($id_menu > 0) $err = menu_set($id_menu);
// S'il y a un fichier on tente d'importer son contenu
if ($id_menu > 0) $err = menu_set($id_menu);
// S'il y a un fichier on tente d'importer son contenu
- if (
$_FILES['import'])
{
+ if (
isset($_FILES['import']) AND $_FILES['import'])
{
$fichier = $_FILES['import']['tmp_name'];
$yaml = '';
lire_fichier($fichier, $yaml);
$fichier = $_FILES['import']['tmp_name'];
$yaml = '';
lire_fichier($fichier, $yaml);