warning en moins
This commit is contained in:
parent
d0d8d2d1ad
commit
f9ab363f38
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ if (!defined('_ECRIRE_INC_VERSION')) {
|
||||||
* @return Array $flux
|
* @return Array $flux
|
||||||
*/
|
*/
|
||||||
function bigform_post_edition($flux){
|
function bigform_post_edition($flux){
|
||||||
if (
|
if (isset($flux['args']['table'])
|
||||||
$flux['args']['table'] === 'spip_documents'
|
and $flux['args']['table'] === 'spip_documents'
|
||||||
and $id_document = intval($flux['args']['id_objet'])
|
and $id_document = intval($flux['args']['id_objet'])
|
||||||
and $flux['args']['action'] === 'ajouter_document'
|
and $flux['args']['action'] === 'ajouter_document'
|
||||||
and in_array($flux['data']['extension'], ['jpg', 'png', 'webm'])
|
and in_array($flux['data']['extension'], ['jpg', 'png', 'webm'])
|
||||||
|
|
Loading…
Add table
Reference in a new issue