diff --git a/html/jrn_search.php b/html/jrn_search.php index 7cc0fd176..bc15b0160 100644 --- a/html/jrn_search.php +++ b/html/jrn_search.php @@ -76,7 +76,7 @@ $condition=$condition." ".$part; if ( $g_UserProperty['use_admin'] != 1 ) { $condition.=" uj_priv in ('W','R') and uj_login='".$g_user."'" ; } else { - $condition.=" 1=1 "; + $condition.=" uj_login='$g_user' "; }