From 26b784133190ea0b75f2f3a6e7a1aaeb4489dc2c Mon Sep 17 00:00:00 2001
From: Matthieu Marcillaud <marcimat@rezo.net>
Date: Thu, 29 Nov 2007 22:26:45 +0000
Subject: [PATCH] Remplacer la fonction spip_select_as par spip_mysql_select_as

---
 ecrire/req/mysql.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ecrire/req/mysql.php b/ecrire/req/mysql.php
index 4426ebf101..b2b9b356e4 100644
--- a/ecrire/req/mysql.php
+++ b/ecrire/req/mysql.php
@@ -154,7 +154,7 @@ function spip_mysql_select($select, $from, $where='',
 			   $serveur='') {
 
 
-	$from = (!is_array($from) ? $from : spip_select_as($from));
+	$from = (!is_array($from) ? $from : spip_mysql_select_as($from));
 	$query = 'SELECT ' .
 		(!is_array($select) ? $select : join(", ", $select)) .
 		(!$from ? '' :"\nFROM $from")
@@ -214,8 +214,8 @@ function calculer_mysql_where($v)
 	}
 }
 
-// http://doc.spip.org/@spip_select_as
-function spip_select_as($args)
+// http://doc.spip.org/@spip_mysql_select_as
+function spip_mysql_select_as($args)
 {
 	if (isset($args[-1])) {
 		$join = ' ' . $args[-1];
-- 
GitLab