Browse Source

Small collected updates

pjc 5 years ago
parent
commit
3d349b5952
1 changed files with 7 additions and 7 deletions
  1. 7
    7
      classes/subscriptions.class.php

+ 7
- 7
classes/subscriptions.class.php View File

57
             $PostID = db_string($PostID);
57
             $PostID = db_string($PostID);
58
 
58
 
59
             G::$DB->query(
59
             G::$DB->query(
60
-          "
60
+                "
61
         INSERT IGNORE INTO users_notify_quoted
61
         INSERT IGNORE INTO users_notify_quoted
62
           (UserID, QuoterID, Page, PageID, PostID, Date)
62
           (UserID, QuoterID, Page, PageID, PostID, Date)
63
         VALUES
63
         VALUES
64
           (    ?,               ?,               ?,      ?,       ?,   NOW())",
64
           (    ?,               ?,               ?,      ?,       ?,   NOW())",
65
-          $Result['ID'],
66
-          G::$LoggedUser['ID'],
67
-          $Page,
68
-          $PageID,
69
-          $PostID
70
-      );
65
+                $Result['ID'],
66
+                G::$LoggedUser['ID'],
67
+                $Page,
68
+                $PageID,
69
+                $PostID
70
+            );
71
             G::$Cache->delete_value("notify_quoted_$UserID");
71
             G::$Cache->delete_value("notify_quoted_$UserID");
72
             if ($Page == 'forums') {
72
             if ($Page == 'forums') {
73
                 $URL = site_url() . "forums.php?action=viewthread&postid=$PostID";
73
                 $URL = site_url() . "forums.php?action=viewthread&postid=$PostID";

Loading…
Cancel
Save