[SPIP] ~maj 3.0.10 --> 3.0.14
[lhc/web/www.git] / www / plugins-dist / urls_etendues / urls / simple.php
index a4c8a5f..9c59431 100644 (file)
@@ -3,7 +3,7 @@
 /***************************************************************************\
  *  SPIP, Systeme de publication pour l'internet                           *
  *                                                                         *
- *  Copyright (c) 2001-2013                                                *
+ *  Copyright (c) 2001-2014                                                *
  *  Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James  *
  *                                                                         *
  *  Ce programme est un logiciel libre distribue sous licence GNU/GPL.     *
@@ -31,7 +31,7 @@ function _generer_url_simple($type,$id, $args='', $ancre='') {
 
        $url = _debut_urls_simple . $type
          . "&" . id_table_objet($type) . "="
-         . $id . _terminaison_urls_page;
+         . $id . _terminaison_urls_simple;
 
        if ($args) $args = strpos($url,'?') ? "&$args" : "?$args";
        return _DIR_RACINE . $url . $args . ($ancre ? "#$ancre" : '');