diff options
Diffstat (limited to 'application/LinkFilter.php')
-rw-r--r-- | application/LinkFilter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/LinkFilter.php b/application/LinkFilter.php index 7bab46ba..daa6d9cc 100644 --- a/application/LinkFilter.php +++ b/application/LinkFilter.php | |||
@@ -120,7 +120,7 @@ class LinkFilter | |||
120 | { | 120 | { |
121 | $filtered = array(); | 121 | $filtered = array(); |
122 | foreach ($this->links as $key => $l) { | 122 | foreach ($this->links as $key => $l) { |
123 | if ($smallHash == smallHash($l['created']->format('Ymd_His'))) { | 123 | if ($smallHash == $l['shorturl']) { |
124 | // Yes, this is ugly and slow | 124 | // Yes, this is ugly and slow |
125 | $filtered[$key] = $l; | 125 | $filtered[$key] = $l; |
126 | return $filtered; | 126 | return $filtered; |