mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-18 23:49:55 +00:00
"Correcting error \"non well formed numeric value encountered\" for modified time stamp"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6664 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
3c4352983d
commit
66241b4a0d
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class MediaView extends View {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (isset($modified) && !empty($modified)) {
|
if (isset($modified) && !empty($modified)) {
|
||||||
$modified = gmdate('D, d M Y H:i:s', strtotime($modified, time()).' GMT');
|
$modified = gmdate('D, d M Y H:i:s', strtotime($modified, time())) . ' GMT';
|
||||||
} else {
|
} else {
|
||||||
$modified = gmdate('D, d M Y H:i:s').' GMT';
|
$modified = gmdate('D, d M Y H:i:s').' GMT';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue