diff --git a/models/pictsharemodel.php b/models/pictsharemodel.php index 9de540a..46bd7f2 100644 --- a/models/pictsharemodel.php +++ b/models/pictsharemodel.php @@ -86,6 +86,7 @@ class PictshareModel extends Model $type = $this->isTypeAllowed($type); $dup_id = $this->isDuplicate($url); + if($dup_id) { $hash = $dup_id;