summaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-07-09 19:09:46 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-07-10 01:24:40 +0200
commit7cb74a0bf34494d93a3139992668eaa112a6b825 (patch)
tree7a857728447001e90123dcb86294b9c16a6e575d /apps/contacts/templates
parent50462903d6dd86f867947cbc1cdb5b65f72592ab (diff)
downloadnextcloud-server-7cb74a0bf34494d93a3139992668eaa112a6b825.tar.gz
nextcloud-server-7cb74a0bf34494d93a3139992668eaa112a6b825.zip
Reduce variables assigned.
Diffstat (limited to 'apps/contacts/templates')
-rw-r--r--apps/contacts/templates/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/templates/index.php b/apps/contacts/templates/index.php
index a8fb6c57c2c..5b49b68e954 100644
--- a/apps/contacts/templates/index.php
+++ b/apps/contacts/templates/index.php
@@ -16,7 +16,7 @@
</div>
<div id="rightcontent" class="rightcontent" data-id="<?php echo $_['id']; ?>">
<?php
- if ($_['id']){
+ if($_['has_contacts']){
echo $this->inc('part.contact');
}
else{