mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-28 12:19:57 +03:00
little corrections
Merge branch-1_7 2219:2220 into BSF git-svn-id: http://piwigo.org/svn/trunk@2221 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
bf4012291a
commit
aed45457d7
2 changed files with 4 additions and 3 deletions
|
@ -608,7 +608,7 @@ INSERT INTO '.HISTORY_TABLE.'
|
||||||
'.$user['id'].',
|
'.$user['id'].',
|
||||||
\''.$_SERVER['REMOTE_ADDR'].'\',
|
\''.$_SERVER['REMOTE_ADDR'].'\',
|
||||||
'.(isset($page['section']) ? "'".$page['section']."'" : 'NULL').',
|
'.(isset($page['section']) ? "'".$page['section']."'" : 'NULL').',
|
||||||
'.(isset($page['category']) ? $page['category']['id'] : 'NULL').',
|
'.(isset($page['category']['id']) ? $page['category']['id'] : 'NULL').',
|
||||||
'.(isset($image_id) ? $image_id : 'NULL').',
|
'.(isset($image_id) ? $image_id : 'NULL').',
|
||||||
'.(isset($image_type) ? "'".$image_type."'" : 'NULL').',
|
'.(isset($image_type) ? "'".$image_type."'" : 'NULL').',
|
||||||
'.(isset($tags_string) ? "'".$tags_string."'" : 'NULL').'
|
'.(isset($tags_string) ? "'".$tags_string."'" : 'NULL').'
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// +-----------------------------------------------------------------------+
|
// +-----------------------------------------------------------------------+
|
||||||
// | PhpWebGallery - a PHP based picture gallery |
|
// | PhpWebGallery - a PHP based picture gallery |
|
||||||
// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
|
// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
|
||||||
// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
|
// | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net |
|
||||||
// +-----------------------------------------------------------------------+
|
// +-----------------------------------------------------------------------+
|
||||||
// | file : $Id$
|
// | file : $Id$
|
||||||
// | last update : $Date$
|
// | last update : $Date$
|
||||||
|
@ -1132,9 +1132,10 @@ function get_access_type_status($user_status='')
|
||||||
$access_type_status = ACCESS_WEBMASTER;
|
$access_type_status = ACCESS_WEBMASTER;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'default':
|
default:
|
||||||
{
|
{
|
||||||
$access_type_status = ACCESS_NONE;
|
$access_type_status = ACCESS_NONE;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue