From: Boris Z. <bo...@2b...> - 2002-11-23 00:08:19
|
Hi Paul, thanks for your fix, it is in cvs now. I wonder how you found this. thanks Am Freitag, 22. November 2002 16:22 schrieb Paul Weiss: > You have the following code to decide whether to send a > static file: > > return $pk->_send_static_file($filename) unless ( $apr->param ); > > Unfortunately, the unless clause always evaluates to false because > it evaluates $apr->param in scalar context, which results in a > blessed Apache::Table object. > > You need to correct it to this: > > my @param = $apr->param; > return $pk->_send_static_file($filename) unless ( @param ); > > -Paul Weiss -- Boris |