Skip to content
Extraits de code Groupes Projets
Valider 26b78413 rédigé par marcimat's avatar marcimat
Parcourir les fichiers

Remplacer la fonction spip_select_as par spip_mysql_select_as

parent f9cf7d6f
Branches
Étiquettes
Aucune requête de fusion associée trouvée
......@@ -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];
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter