]> git.mxchange.org Git - friendica.git/commitdiff
Use $get
authorMichael <heluecht@pirati.ca>
Sun, 18 Oct 2020 04:05:52 +0000 (04:05 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 18 Oct 2020 04:05:52 +0000 (04:05 +0000)
src/Module/Conversation/Network.php

index a1b23a1ac02308f6583ab0d629f2ef7d9d5584ce..abe836f27a56f9809daca7f8ec699cde31505b95 100644 (file)
@@ -332,13 +332,13 @@ class Network extends BaseModule
                                self::$max_id = $get['last_received'] ?? self::$max_id;
                                break;
                        case 'commented':
-                               self::$max_id = $_GET['last_commented'] ?? self::$max_id;
+                               self::$max_id = $get['last_commented'] ?? self::$max_id;
                                break;
                        case 'created':
-                               self::$max_id = $_GET['last_created'] ?? self::$max_id;
+                               self::$max_id = $get['last_created'] ?? self::$max_id;
                                break;
                        case 'uriid':
-                               self::$max_id = $_GET['last_uriid'] ?? self::$max_id;
+                               self::$max_id = $get['last_uriid'] ?? self::$max_id;
                                break;
                }
        }