Commit b4ae38b8 authored by slopez's avatar slopez
Browse files

debug tags

parent 4e3a354d
...@@ -46,11 +46,11 @@ if ( $tag->is_valid() ) ...@@ -46,11 +46,11 @@ if ( $tag->is_valid() )
$cat = new catphoto($site->db); $cat = new catphoto($site->db);
$cat->load_by_id(1); $cat->load_by_id(1);
$photos = new requete($site->db, $photos = new requete($site->db,
"SELECT * "SELECT id_photo
FROM sas_photos FROM sas_photos
LEFT JOIN sas_photos_tag LEFT JOIN sas_photos_tag
USING ( id_photo ) USING ( id_photo )
LEFT JOIN sas_personnes_photos p1 USING(id_photo) LEFT JOIN sas_personnes_photos AS p1 ON (p1.id_photo=sas_photos.id_photo
AND p1.id_utilisateur = '2536' AND p1.id_utilisateur = '2536'
AND p1.modere_phutl = '1' ) AND p1.modere_phutl = '1' )
LEFT JOIN `asso_membre` ON ( `asso_membre`.`id_asso` = `sas_photos`.`meta_id_asso_ph` LEFT JOIN `asso_membre` ON ( `asso_membre`.`id_asso` = `sas_photos`.`meta_id_asso_ph`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment