Permalink
Browse files

Fixed search with users

  • Loading branch information...
1 parent 4ccf07b commit cba917cf49179cc301d2cadf2e8f0a687e2df935 @BrianAker BrianAker committed Mar 2, 2001
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/Search/Search.pm
View
@@ -129,7 +129,7 @@ sub findStory {
}
$sql .= " AND time < now() AND writestatus>=0 AND displaystatus>=0";
- $sql .= " AND aid=" . $self->{_dbh}->quote($form->{author})
+ $sql .= " AND stories.uid=" . $self->{_dbh}->quote($form->{author})
if $form->{author};
$sql .= " AND section=" . $self->{_dbh}->quote($form->{section})
if $form->{section};

0 comments on commit cba917c

Please sign in to comment.