From c823715c830f7cfe63558909e2abd74de11d9cf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Wed, 19 Sep 2012 15:57:40 +0200 Subject: [PATCH] Fix a warning --HG-- extra : rebase_source : 1a3a44f105d0fd18735cd42aab5f0284ec1937cc --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 509b814..a82f018 100644 --- a/index.php +++ b/index.php @@ -25,7 +25,7 @@ /* Test to see if pages are opened on an Eink screen * First test Kindle or Kobo Touch */ - if (preg_match("/(Kobo Touch|Kindle\/3.0)", $_SERVER['HTTP_USER_AGENT'])) { + if (preg_match("/(Kobo Touch|Kindle\/3.0)/", $_SERVER['HTTP_USER_AGENT'])) { $isEink = 1; /* Test Sony PRS-T1 Ereader.