Changeset 118768 in spip-zone


Ignore:
Timestamp:
Nov 27, 2019, 9:16:35 AM (2 weeks ago)
Author:
JLuc
Message:

éviter notice parfois

Location:
_core_/plugins/medias
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/medias

    • Property subgit:lock:5fb6c64808e58f903ed8a8f17adea68d0f4562d0 set to 2019-11-27T10:22:48.295
  • _core_/plugins/medias/medias_fonctions.php

    r116138 r118768  
    4545        and $_SERVER['REQUEST_METHOD'] == 'POST'
    4646        and empty($_POST)
     47    and isset($_SERVER['CONTENT_TYPE'])
    4748        and strlen($_SERVER['CONTENT_TYPE']) > 0
    4849        and strncmp($_SERVER['CONTENT_TYPE'], 'multipart/form-data', 19) == 0
Note: See TracChangeset for help on using the changeset viewer.