Commit 41ab2e34 authored by Max Kostikov's avatar Max Kostikov

Use NULL_DATE on initial local links creation

parent 9fd6785f
......@@ -168,7 +168,7 @@ function photocache_hash($str, $alg = 'sha256') {
'xchan' => $hash,
'resource_id' => $resid,
'created' => datetime_convert(),
'expires' => '0001-01-01 00:00:00',
'expires' => dbesc(NULL_DATE),
'mimetype' => '',
'photo_usage' => PHOTO_CACHE,
'os_storage' => 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment