Piwigo Bugtracker

Piwigo bug tracker has moved to Github

This bugtracker is kept to provide history on old issues.


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002909Piwigousers & groupspublic2013.05.29 22:492013.05.29 22:52
Reporterplg 
Assigned Toplg 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.5.1 
Target Version2.5.2Fixed in Version2.5.2 
Summary0002909: give permission on an empty list of albums produces SQL error
DescriptionOn screen [Administration > Users > Manage], "lock" icon of the user line: if you click on "<<" (give permission) without selecting any album, it produces:

Notice: Undefined index: cat_false in .../admin/user_perm.php on line 69

Warning: [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3

SELECT uppercats
  FROM categories
  WHERE id IN ()
; in .../include/dblayer/functions_mysqli.inc.php on line 834

Fatal error: Call to a member function fetch_assoc() on a non-object in .../include/dblayer/functions_mysqli.inc.php on line 181
TagsNo tags attached.
browserany
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships

-  Notes
(0007010)
svn (reporter)
2013.05.29 22:51

[Subversion] r22949 by plg on branch 2.5

-----[Subversion commit log]----------------------------------------------------
bug 2909 fixed: make sure the selection of private album is not empty before
adding permission to user. The good test had been removed in r11729
(0007011)
svn (reporter)
2013.05.29 22:52

[Subversion] r22950 by plg on trunk

-----[Subversion commit log]----------------------------------------------------
merge r22949 from branch 2.5 to trunk

bug 2909 fixed: make sure the selection of private album is not empty before
adding permission to user. The good test had been removed in r11729


- Issue History
Date Modified Username Field Change
2013.05.29 22:49 plg New Issue
2013.05.29 22:49 plg Status new => assigned
2013.05.29 22:49 plg Assigned To => plg
2013.05.29 22:49 plg browser => any
2013.05.29 22:49 plg Web server => Apache 1.3.x
2013.05.29 22:51 svn Checkin
2013.05.29 22:51 svn Note Added: 0007010
2013.05.29 22:52 svn Checkin
2013.05.29 22:52 svn Note Added: 0007011
2013.05.29 22:52 plg Status assigned => closed
2013.05.29 22:52 plg Resolution open => fixed
2013.05.29 22:52 plg Fixed in Version => 2.5.2


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