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

SF.net SVN: ledger-smb: [631] trunk/LedgerSMB/JC.pm



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

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

Modified Paths:
--------------
    trunk/LedgerSMB/JC.pm

Modified: trunk/LedgerSMB/JC.pm
===================================================================
--- trunk/LedgerSMB/JC.pm	2006-11-16 00:49:18 UTC (rev 630)
+++ trunk/LedgerSMB/JC.pm	2006-11-16 00:52:31 UTC (rev 631)
@@ -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.