[Rt-commit] r17071 - rt/3.8/trunk/lib/RT
ruz at bestpractical.com
ruz at bestpractical.com
Tue Dec 2 20:17:24 EST 2008
Author: ruz
Date: Tue Dec 2 20:17:24 2008
New Revision: 17071
Modified:
rt/3.8/trunk/lib/RT/Handle.pm
Log:
* fix boolean logic in file existance and readbility check
Modified: rt/3.8/trunk/lib/RT/Handle.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Handle.pm (original)
+++ rt/3.8/trunk/lib/RT/Handle.pm Tue Dec 2 20:17:24 2008
@@ -457,7 +457,7 @@
unless ( $file ) {
return (0, "Couldn't find schema file(s) '$file*'");
}
- unless ( -f $file || -r $file ) {
+ unless ( -f $file && -r $file ) {
return (0, "File '$file' doesn't exist or couldn't be read");
}
More information about the Rt-commit
mailing list