summaryrefslogtreecommitdiff
path: root/plugins/example_addressbook/example_addressbook.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/example_addressbook/example_addressbook.php')
-rw-r--r--plugins/example_addressbook/example_addressbook.php2
1 files changed, 1 insertions, 1 deletions
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;
}