summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-07-20 10:55:28 +0200
committerPatrick Simianer <p@simianer.de>2016-07-20 10:55:28 +0200
commit47b04c4d2e72a473d1b7595c1a6655bcd351f65e (patch)
treed4c8709f6f7b2ec0a1f917f85af06d4750995610 /inc
parent893f1b87ff267a6afd886951c91a64573f4d9c9f (diff)
parentfac00976168c6b3c94d01d76babede147e4a0710 (diff)
Merge branch 'master' of github.com:pks/lfpe
Diffstat (limited to 'inc')
-rw-r--r--inc/db.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/db.inc.php b/inc/db.inc.php
index e023c3a..bc18e16 100644
--- a/inc/db.inc.php
+++ b/inc/db.inc.php
@@ -2,7 +2,7 @@
$SESSION_DIR="/srv/postedit/sessions";
$key = $_GET["key"];
-if (preg_match('/^[a-z0-9]{1,4}$/', $key)) {
+if (preg_match('/^[a-f0-9]{1,4}$/', $key)) {
$json = file_get_contents($SESSION_DIR."/".$key."/data.json");
}
$db = json_decode($json);