Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
photos
Commits
55b90068
Commit
55b90068
authored
Jul 19, 2014
by
Tobias Reich
Browse files
Fixed wrong date in album view when takestamp is null
parent
3e523c6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
php/modules/Album.php
View file @
55b90068
...
...
@@ -99,7 +99,7 @@ class Album extends Module {
$photo
[
'nextPhoto'
]
=
''
;
$photo
[
'thumbUrl'
]
=
LYCHEE_URL_UPLOADS_THUMB
.
$photo
[
'thumbUrl'
];
if
(
$photo
[
'takestamp'
]
!==
'0'
)
{
if
(
isset
(
$photo
[
'takestamp'
])
&&
$photo
[
'takestamp'
]
!==
'0'
)
{
$photo
[
'cameraDate'
]
=
1
;
$photo
[
'sysdate'
]
=
date
(
'd F Y'
,
$photo
[
'takestamp'
]);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment