[SPIP] v3.2.1-->v3.2.2
[lhc/web/www.git] / www / ecrire / iterateur / data.php
index 169fa6f..5536788 100644 (file)
@@ -3,7 +3,7 @@
 /***************************************************************************\
  *  SPIP, Systeme de publication pour l'internet                           *
  *                                                                         *
- *  Copyright (c) 2001-2017                                                *
+ *  Copyright (c) 2001-2019                                                *
  *  Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James  *
  *                                                                         *
  *  Ce programme est un logiciel libre distribue sous licence GNU/GPL.     *
@@ -466,7 +466,7 @@ class IterateurDATA implements Iterator {
                                        }
                                } # {par hasard}
                                else {
-                                       if ($r[1] == 'alea') {
+                                       if ($r[1] == 'hasard') {
                                                $k = array_keys($this->tableau);
                                                shuffle($k);
                                                $v = array();