Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Couple of small fixes

  • Loading branch information...
commit bf997c179b4db960053ec91e4069ffc0a543b58e 1 parent 3787fce
Brian Aker authored
14  Slash/Slash.pm
@@ -1122,21 +1122,21 @@ sub _hard_dispComment {
1122 1122
 		if (!$user->{people}{FRIEND()}{$person} && !$user->{people}{FOE()}{$person} && !$user->{people}{FAN()}{$person} && !$user->{people}{FREAK()}{$person}) {
1123 1123
 				$people_display = qq|<A HREF="$constants->{rootdir}/zoo.pl?op=addcheck&amp;type=friend&amp;uid=$person"><IMG BORDER="0" WIDTH="12" HEIGHT="12" SRC="$constants->{imagedir}/neutral.gif" ALT="Alter Relationship" TITLE="Alter Relationship"></A>|;
1124 1124
 		} else {
1125  
-			if ($user->{people}{$person}{FRIEND()}) {
  1125
+			if ($user->{people}{FRIEND()}{$person}) {
1126 1126
 				my $title = $user->{people}{people_bonus_friend} ? "Friend ($user->{people}{people_bonus_friend})" : "Friend";
1127 1127
 				$people_display = qq|<A HREF="$constants->{rootdir}/zoo.pl?op=deletecheck&amp;uid=$person"><IMG BORDER="0" WIDTH="12" HEIGHT="12" SRC="$constants->{imagedir}/friend.gif" ALT="$title" TITLE="$title"></A>|;
1128 1128
 			} 
1129  
-			if ($user->{people}{$person}{FOE()}) {
  1129
+			if ($user->{people}{FOE()}{$person}) {
1130 1130
 				my $title = $user->{people}{people_bonus_foe} ? "Foe ($user->{people}{people_bonus_foe})" : "Foe";
1131  
-				$people_display = qq|<A HREF="$constants->{rootdir}/zoo.pl?op=deletecheck&amp;uid=$person"><IMG BORDER="0" WIDTH="12" HEIGHT="12" SRC="$constants->{imagedir}/foe.gif" ALT="$title" TITLE="$title"></A> |;
  1131
+				$people_display .= qq|<A HREF="$constants->{rootdir}/zoo.pl?op=deletecheck&amp;uid=$person"><IMG BORDER="0" WIDTH="12" HEIGHT="12" SRC="$constants->{imagedir}/foe.gif" ALT="$title" TITLE="$title"></A> |;
1132 1132
 			} 
1133  
-			if ($user->{people}{$person}{FAN()}) {
  1133
+			if ($user->{people}{FAN()}{$person}) {
1134 1134
 				my $title = $user->{people}{people_bonus_fan} ? "Fan ($user->{people}{people_bonus_fan})" : "Fan";
1135  
-				$people_display = qq|<A HREF="$constants->{rootdir}/zoo.pl?op=deletecheck&amp;uid=$person"><IMG BORDER="0" WIDTH="12" HEIGHT="12" SRC="$constants->{imagedir}/fan.gif" ALT="$title" TITLE="$title"></A> |;
  1135
+				$people_display .= qq|<A HREF="$constants->{rootdir}/zoo.pl?op=deletecheck&amp;uid=$person"><IMG BORDER="0" WIDTH="12" HEIGHT="12" SRC="$constants->{imagedir}/fan.gif" ALT="$title" TITLE="$title"></A> |;
1136 1136
 			} 
1137  
-			if ($user->{people}{$person}{FREAK()}) {
  1137
+			if ($user->{people}{FREAK()}{$person}) {
1138 1138
 				my $title = $user->{people}{people_bonus_freak} ? "Freak ($user->{people}{people_bonus_freak})" : "Freak";
1139  
-				$people_display = qq|<A HREF="$constants->{rootdir}/zoo.pl?op=deletecheck&amp;uid=$person"><IMG BORDER="0" WIDTH="12" HEIGHT="12" SRC="$constants->{imagedir}/freak.gif" ALT="$title" TITLE="$title"></A> |;
  1139
+				$people_display .= qq|<A HREF="$constants->{rootdir}/zoo.pl?op=deletecheck&amp;uid=$person"><IMG BORDER="0" WIDTH="12" HEIGHT="12" SRC="$constants->{imagedir}/freak.gif" ALT="$title" TITLE="$title"></A> |;
1140 1140
 			} 
1141 1141
 		}
1142 1142
 	}
4  plugins/Stats/adminmail.pl
@@ -132,9 +132,9 @@
132 132
       used -1: %8d yesterday (%.1f%%)
133 133
       used +1: %8d yesterday (%.1f%%)
134 134
      comments: %8d posted yesterday
135  
-uniq comments: %8d distinct IPIDS posted comments today
  135
+uniq comments: %8d distinct IPIDS posted comments
136 136
   submissions: %8d submissions
137  
- sub/comments: %8.1f%% of the submissions came from comment posters
  137
+ sub/comments: %8.1f%% of the submissions came from comment posters from this day
138 138
 
139 139
    total hits: %8d
140 140
      homepage: %8d

0 notes on commit bf997c1

Please sign in to comment.
Something went wrong with that request. Please try again.