Piwigo Bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000150Piwigodatabasepublic2005.09.21 13:112005.10.22 10:07
Reporternoiry 
Assigned Toplg 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.5.0RC1 
Target VersionFixed in Version1.5.0RC2 
Summary0000150: Pb dans la gestion des permissions par categories si table utilisateurs non gérée par PWG
Descriptionla 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.
Additional InformationMa 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'].'
TagsNo tags attached.
browserany
Database engine and version
PHP version
Web serverApache 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


Copyright © 2000 - 2015 MantisBT Team
Contact
Powered by Mantis Bugtracker