Permalink
Browse files

Patch from Gurusamy Sarathy. $url->_scope is always defined, but it m…

…ay be ''
  • Loading branch information...
1 parent ab17bd1 commit 3b02ec5378a522cc26ac528cc5c1165cd19c0d5d @gbarr gbarr committed Feb 17, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/ldapsearch
View
@@ -188,7 +188,7 @@ while (@urls) {
$searchargs{base} = $opt_b if $opt_b;
$searchargs{base} = $url->dn if $url->dn;
$searchargs{scope} = $opt_s if $opt_s;
- $searchargs{scope} = $url->_scope if defined $url->_scope;
+ $searchargs{scope} = $url->_scope if $url->_scope;
$searchargs{deref} = $derefs{$opt_a} if $opt_a;
$searchargs{sizelimit} = $opt_z if $opt_z;
$searchargs{timelimit} = $opt_l if $opt_l;

0 comments on commit 3b02ec5

Please sign in to comment.