[vhffs-dev] [1548] Another syntax fix: ${@somearray} to $somearray. |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1548
Author: guillaumito
Date: 2010-03-05 13:58:38 +0100 (Fri, 05 Mar 2010)
Log Message:
-----------
Another syntax fix: ${@somearray} to $somearray.
Modified Paths:
--------------
trunk/vhffs-api/src/Vhffs/Services/Cron.pm
Modified: trunk/vhffs-api/src/Vhffs/Services/Cron.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Services/Cron.pm 2010-03-05 10:35:46 UTC (rev 1547)
+++ trunk/vhffs-api/src/Vhffs/Services/Cron.pm 2010-03-05 12:58:38 UTC (rev 1548)
@@ -382,7 +382,7 @@
my $request = $self->{'db'}->prepare($query);
$request->execute( $self->{'cron_id'} ) or return undef;
my @r = $request->fetchrow_array();
- return ${@r}[0];
+ return $r[0];
}
sub quick_set_nextrundate