From bfcad06243bb77d4650bb8d5832a1740d4aea5c5 Mon Sep 17 00:00:00 2001 From: alec Date: Mon, 3 May 2010 13:29:35 +0000 Subject: - Use === operator git-svn-id: https://svn.roundcube.net/trunk@3587 208e9e7b-5314-0410-a742-e7e81cd9613c --- plugins/example_addressbook/example_addressbook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/example_addressbook') diff --git a/plugins/example_addressbook/example_addressbook.php b/plugins/example_addressbook/example_addressbook.php index 081efcb13..58f187c0c 100644 --- a/plugins/example_addressbook/example_addressbook.php +++ b/plugins/example_addressbook/example_addressbook.php @@ -31,7 +31,7 @@ class example_addressbook extends rcube_plugin public function get_address_book($p) { - if ($p['id'] == $this->abook_id) { + if ($p['id'] === $this->abook_id) { require_once(dirname(__FILE__) . '/example_addressbook_backend.php'); $p['instance'] = new example_addressbook_backend; } -- cgit v1.2.3