:skypepukeemote: except im not retarded
Original pull request patch:
From b86045ec4ab02ec41d76c0280cf30b65a566fe43 Mon Sep 17 00:00:00 2001
From: cmyui <cmyuiosu@gmail.com>
Date: Sun, 25 Feb 2018 08:56:39 +0100
Subject: [PATCH 1/2] :skypepukeemote:
---
inc/Do.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/inc/Do.php b/inc/Do.php
index d19271b..aac5541 100644
--- a/inc/Do.php
+++ b/inc/Do.php
@@ -1,4 +1,4 @@
-<?php
+!!<?php
// We aren't calling the class Do because otherwise it would conflict with do { } while ();
class D {
@@ -1563,7 +1563,7 @@ class D {
// Solve
$GLOBALS["db"]->execute("UPDATE reports SET assigned = -1 WHERE id = ? LIMIT 1", [$_GET["id"]]);
}
- redirect("index.php?p=127&id=" . $_GET["id"] . "&s=Solved status changed!!");
+ redirect("index.php?p=127&id=" . $_GET["id"] . "&s=Solved status changed!");
} catch (Exception $e) {
redirect("index.php?p=127&id=" . $_GET["id"] . "&e=" . $e->getMessage());
}
@@ -1588,7 +1588,7 @@ class D {
// Useless
$GLOBALS["db"]->execute("UPDATE reports SET assigned = -2 WHERE id = ? LIMIT 1", [$_GET["id"]]);
}
- redirect("index.php?p=127&id=" . $_GET["id"] . "&s=Useful status changed!!");
+ redirect("index.php?p=127&id=" . $_GET["id"] . "&s=Useful status changed!");
} catch (Exception $e) {
redirect("index.php?p=127&id=" . $_GET["id"] . "&e=" . $e->getMessage());
}
--
2.20.1
From 48685d4e9d3f203bf7c0beccc50e5d5972aee257 Mon Sep 17 00:00:00 2001
From: cmyui <cmyuiosu@gmail.com>
Date: Sun, 25 Feb 2018 08:58:37 +0100
Subject: [PATCH 2/2] :skypepukeemote: except im not retarded
---
inc/Do.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inc/Do.php b/inc/Do.php
index aac5541..d271491 100644
--- a/inc/Do.php
+++ b/inc/Do.php
@@ -1,4 +1,4 @@
-!!<?php
+<?php
// We aren't calling the class Do because otherwise it would conflict with do { } while ();
class D {
--
2.20.1