diff --git a/boot.php b/boot.php
index 9f6f88d689..39bd34696f 100644
--- a/boot.php
+++ b/boot.php
@@ -1924,7 +1924,7 @@ function profile_sidebar($profile) {
$gender = ((x($profile,'gender') == 1) ? '
' . t('Gender:') . ' ' . $profile['gender'] . '
' : '');
- $pubkey = ((x($profile,'key') == 1) ? '' . $profile['pubkey'] . '
' : '');
+ $pubkey = ((x($profile,'pubkey') == 1) ? '' . $profile['pubkey'] . '
' : '');
$marital = ((x($profile,'marital') == 1) ? '♥ ' . t('Status:') . ' ' . $profile['marital'] . '
' : '');