fix freesidestatus setting in IVR import, RT#29055
authorIvan Kohler <ivan@freeside.biz>
Mon, 23 Jun 2014 21:22:47 +0000 (14:22 -0700)
committerIvan Kohler <ivan@freeside.biz>
Mon, 23 Jun 2014 21:22:47 +0000 (14:22 -0700)
FS/FS/cdr/Import.pm

index e13c682..7a37758 100644 (file)
@@ -120,7 +120,7 @@ sub dbi_import {
       my $updated = $dbi->do(
         "UPDATE $table SET freesidestatus = 'done' WHERE $pkey = ?",
         undef,
-        $row->{'$pkey'}
+        $row->{$pkey}
       );
       #$updates += $updated;
       die "failed to set status: ".$dbi->errstr."\n" unless $updated;