diff --git a/htdocs/expedition/card.php b/htdocs/expedition/card.php
index 3a626d56b03..8c959116582 100644
--- a/htdocs/expedition/card.php
+++ b/htdocs/expedition/card.php
@@ -1016,8 +1016,8 @@ if ($action == 'create') {
$numAsked = count($object->lines);
print ''."\n";
+ print 'return false; });'."\n";
+ print '});'."\n";
+ print ''."\n";
print '
';