From: ivan Date: Mon, 2 Jun 2008 18:31:08 +0000 (+0000) Subject: fix ntable calls X-Git-Tag: freeside_1_7_4rc1~320 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=553cf2b9aaa01c7256100c904c814338b3fa29e3;p=freeside.git fix ntable calls --- diff --git a/FS/FS/UI/Web/small_custview.pm b/FS/FS/UI/Web/small_custview.pm index 4c705c159..079ae9368 100644 --- a/FS/FS/UI/Web/small_custview.pm +++ b/FS/FS/UI/Web/small_custview.pm @@ -112,5 +112,18 @@ sub small_custview { $html; } +#bah. don't want to pull in all of FS::CGI, that's the whole problem in the +#first place +sub ntable { + my $col = shift; + my $cellspacing = shift || 0; + if ( $col ) { + qq!!; + } else { + '
'; + } + +} + 1;