From dc2cfe516083d5d80fef59998b1cbb1199cf5b65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Sun, 9 Feb 2014 15:21:47 +0100 Subject: [PATCH] Use the constant ... better --- JSON_renderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JSON_renderer.php b/JSON_renderer.php index 4f3531e..763e5ea 100644 --- a/JSON_renderer.php +++ b/JSON_renderer.php @@ -218,7 +218,7 @@ class JSONRenderer $out ["containsBook"] = 1; } - $out["abouturl"] = "index.php" . addURLParameter ("?page=16", DB, $database); + $out["abouturl"] = "index.php" . addURLParameter ("?page=" . Base::PAGE_ABOUT, DB, $database); if ($page == Base::PAGE_ABOUT) { $temp = preg_replace ("/\About COPS\<\/h1\>/", "

About COPS " . VERSION . "

", file_get_contents('about.html'));