mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +02:00
- in picture.php, $user['maxwidth'] and $user['maxheight'] can be unset if
NULL in database
- new table user_forbidden {user_id,need_update,forbidden_categories} and
deletion of field users.forbidden_categories
- new function calculate_permissions to update table user_forbidden when
needed
- simplification of include/user.inc.php
- in footer of each page, use "-" instead of "::" to separate page
information
git-svn-id: http://piwigo.org/svn/trunk@648 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+2
-2
@@ -416,8 +416,8 @@ else
|
||||
$original_height = $picture['current']['height'];
|
||||
}
|
||||
|
||||
$picture_size = get_picture_size( $original_width, $original_height,
|
||||
$user['maxwidth'], $user['maxheight'] );
|
||||
$picture_size = get_picture_size($original_width, $original_height,
|
||||
@$user['maxwidth'], @$user['maxheight']);
|
||||
|
||||
// metadata
|
||||
if ($conf['show_exif'] or $conf['show_iptc'])
|
||||
|
||||
Reference in New Issue
Block a user