[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [632] branches/1.2/LedgerSMB/JC.pm



Revision: 632
          http://svn.sourceforge.net/ledger-smb/?rev=632&view=rev
Author:   tetragon
Date:     2006-11-15 16:53:12 -0800 (Wed, 15 Nov 2006)

Log Message:
-----------
Fix usage of $sth->fetchrow_array

Modified Paths:
--------------
    branches/1.2/LedgerSMB/JC.pm

Modified: branches/1.2/LedgerSMB/JC.pm
===================================================================
--- branches/1.2/LedgerSMB/JC.pm	2006-11-16 00:52:31 UTC (rev 631)
+++ branches/1.2/LedgerSMB/JC.pm	2006-11-16 00:53:12 UTC (rev 632)
@@ -141,7 +141,7 @@
 		my $sth = $dbh->prepare($query);
 		$sth->execute($form->{project_id});
 
-		if ($sth->fetchrow_array($query)) {
+		if ($sth->fetchrow_array) {
 			$form->{project} = 'job';
 			$query = qq|
 				SELECT id


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.