From 80a5d52ec9614d38cef510106090b6e98d89f4b2 Mon Sep 17 00:00:00 2001 From: Chris Petersen Date: Mon, 8 Oct 2007 02:39:11 +0000 Subject: [PATCH] re #3201, I hate namespaces sometimes --- nuvexport/nuv_export/ui.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nuvexport/nuv_export/ui.pm b/nuvexport/nuv_export/ui.pm index 525cb99..9e708ba 100644 --- a/nuvexport/nuv_export/ui.pm +++ b/nuvexport/nuv_export/ui.pm @@ -61,9 +61,9 @@ package nuv_export::ui; # Filename specified on the command line -- extract the chanid and starttime if (arg('infile')) { # Try to pick out the chanid and starttime from the database - my $sh = $Myth->{'dbh'}->prepare('SELECT chanid, UNIX_TIMESTAMP(starttime) - FROM recorded - WHERE basename = ?'); + my $sh = $Main::Myth->{'dbh'}->prepare('SELECT chanid, UNIX_TIMESTAMP(starttime) + FROM recorded + WHERE basename = ?'); if ($sh) { # Look up the file, by basename $rows = $sh->execute(basename(arg('infile')));