Changeset 48078 in spip-zone
- Timestamp:
- May 24, 2011, 7:37:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/plugin-thelia/auth/thelia.php
r47979 r48078 68 68 if ($result = sql_fetsel("*", "spip_auteurs", "login=" . sql_quote($login) . " AND source='thelia'")) { 69 69 $data = pipeline('thelia_authentifie',array("auteur" => $result,"statut"=>"existant")); 70 return $ result;70 return $data['auteur']; 71 71 } 72 72 … … 102 102 spip_log("test6"); 103 103 if ($n) { 104 $data = pipeline('thelia_authentifie',array("auteur" => $n,"statut"=>"nouveau")); 105 return sql_fetsel("*", "spip_auteurs", "id_auteur=$n"); 104 $auteur = sql_fetsel("*", "spip_auteurs", "id_auteur=$n"); 105 $data = pipeline('thelia_authentifie',array("auteur" => $auteur,"statut"=>"nouveau")); 106 return $data['auteur']; 106 107 } 107 108
Note: See TracChangeset
for help on using the changeset viewer.