Piwigo Bugtracker

Viewing Issue Advanced Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000150 [Piwigo] database minor always 2005.09.21 13:11 2005.10.22 10:07
Reporter noiry View Status public  
Assigned To plg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 1.5.0RC2 Product Version 1.5.0RC1
  Target Version Product Build
Summary 0000150: Pb dans la gestion des permissions par categories si table utilisateurs non gérée par PWG
Description la requete suivante (ligne 270) plante :
$query = '
SELECT '.$conf['user_fields']['id'].' AS id,
       '.$conf['user_fields']['username'].' AS username
  FROM '.USERS_TABLE.'
  WHERE id != '.$conf['guest_id'].'

sinon bravo pour le boulot.
Steps To Reproduce
Additional Information Ma solution :

$query = '
SELECT '.$conf['user_fields']['id'].' AS id,
       '.$conf['user_fields']['username'].' AS username
  FROM '.USERS_TABLE.'
  WHERE '.$conf['user_fields']['id'].' != '.$conf['guest_id'].'
Tags No tags attached.
browser any
Database engine and version
PHP version
Web server Apache 1.3.x
Attached Files

- Relationships

-  Notes
(0000251)
noiry (reporter)
2005.09.21 13:12

j'ai oublié le fichier : admin/cat_perm.php
(0000252)
plg (manager)
2005.09.21 20:09

Avec une analyse/solution comme ça, le boulot est vraiment facile :-)

- Issue History
Date Modified Username Field Change
2005.09.21 13:11 noiry New Issue
2005.09.21 13:11 noiry browser => any
2005.09.21 13:11 noiry Web server => Apache 1.3.x
2005.09.21 13:12 noiry Note Added: 0000251
2005.09.21 20:09 plg Note Added: 0000252
2005.09.21 20:09 plg Status new => closed
2005.09.21 20:09 plg Resolution open => fixed
2005.09.21 20:09 plg Fixed in Version => 1.5.0RC2
2005.10.22 10:07 plg Assigned To => plg


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Contact
Powered by Mantis Bugtracker