Pascal Gloor 7 anni fa
parent
commit
15c63f3991
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      cgi/autodoc.fcgi

+ 1
- 1
cgi/autodoc.fcgi Vedi File

$q = sqlquery($dbh, " $q = sqlquery($dbh, "
SELECT tags.tag AS tag SELECT tags.tag AS tag
FROM documents_tags LEFT JOIN tags ON documents_tags.tagId = tags.id FROM documents_tags LEFT JOIN tags ON documents_tags.tagId = tags.id
WHERE documentId = ? SORT BY tag", $id);
WHERE documentId = ? ORDER BY tag", $id);
while(my ($tag) = $q->fetchrow_array()) { push @tags, $tag; } while(my ($tag) = $q->fetchrow_array()) { push @tags, $tag; }


my %lang; my %lang;

Loading…
Annulla
Salva