Skip to content

Commit

Permalink
Fix notifications table property name.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxu committed Dec 29, 2015
1 parent 36a8065 commit 1a19e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notification/thanks.php
Expand Up @@ -283,7 +283,7 @@ public function create_insert_array($thanks_data, $pre_create_data = array())
public function create_update_array($thanks_data)
{
$sql = 'SELECT notification_data
FROM ' . $this->notifications_table . '
FROM ' . $this->user_notifications_table . '
WHERE notification_type_id = ' . (int) $this->notification_type_id . '
AND item_id = ' . (int) self::get_item_id($thanks_data);
$result = $this->db->sql_query($sql);
Expand Down

0 comments on commit 1a19e23

Please sign in to comment.