diff --git a/ecrire/action/documenter.php b/ecrire/action/documenter.php index 32e808df09a89678173f6b1832bece24df02d5df..f7ab8cd15054f14f92f942e4e6ab9dd1840aaf29 100644 --- a/ecrire/action/documenter.php +++ b/ecrire/action/documenter.php @@ -21,7 +21,7 @@ function action_documenter_dist() $securiser_action = charger_fonction('securiser_action', 'inc'); $arg = $securiser_action(); - if (!preg_match(",^(-?)(\d+)\W(\w+)\W?(\d*)$,", $arg, $r)) + if (!preg_match(",^(-?)(\d+)\W(\w+)\W?(\d+)$,", $arg, $r)) spip_log("action_documenter $arg pas compris"); else action_documenter_post($r); }