fix useless backup on clip

This commit is contained in:
quenousimporte 2024-04-04 10:04:04 +02:00
parent 7c0214dfad
commit 40c90d07bc
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
$path = $dir . '/' . $title;
$lastchanged = filemtime($path);
$previous = $_POST['lastchanged'];
if ( (int)$lastchanged > (int)$previous)
if (!isset($_GET['clip']) && (int)$lastchanged > (int)$previous)
{
$tempcontent = file_get_contents($path);
if ($tempcontent != $content)