Skip to content

Commit

Permalink
! Unexplainable 'bug', but whatever. (facebook/callback.php)
Browse files Browse the repository at this point in the history
Signed-off-by: Nao <nao@wedge>
  • Loading branch information
Nao committed May 15, 2014
1 parent 4fb8986 commit ded7730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion facebook/callback.php
Expand Up @@ -148,7 +148,7 @@
//!!! Should the message be stored per-member or site-wide?
$cached_thought = cache_get_data('fb_last_thought:' . $id_member, 7 * 86400);

if ($cached_thought != null && $cached_thought['message'] == $message)
if (empty($message) || ($cached_thought != null && $cached_thought['message'] == $message))
continue;

wesql::query('
Expand Down

0 comments on commit ded7730

Please sign in to comment.