duplication detection now works again

This commit is contained in:
Christian Haschek
2015-10-30 12:16:43 +01:00
parent 4977397be7
commit 435451252f

View File

@@ -86,6 +86,7 @@ class PictshareModel extends Model
$type = $this->isTypeAllowed($type); $type = $this->isTypeAllowed($type);
$dup_id = $this->isDuplicate($url); $dup_id = $this->isDuplicate($url);
if($dup_id) if($dup_id)
{ {
$hash = $dup_id; $hash = $dup_id;