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

[GT] SVN Commit r627 - trunk/GT/Indicators



Author: thomas
Date: 2008-06-10 06:50:48 +0200 (Tue, 10 Jun 2008)
New Revision: 627

Modified:
   trunk/GT/Indicators/Prices.pm
Log:
Use correct call for creating db object.


Modified: trunk/GT/Indicators/Prices.pm
===================================================================
--- trunk/GT/Indicators/Prices.pm	2008-06-10 04:45:10 UTC (rev 626)
+++ trunk/GT/Indicators/Prices.pm	2008-06-10 04:50:48 UTC (rev 627)
@@ -62,7 +62,7 @@
     # Second parameter: code of the share
     if ($self->{'args'}->get_nb_args() > 1) {
 	$self->{'use_std_prices'} = 0;
-	my $db = create_standard_object("DB::" . GT::Conf::get("DB::module"));
+	my $db = create_db_object();
 	my $q = $db->get_prices($self->{'args'}->get_arg_constant(2));
 	$self->{'special_prices'} = $q;
     } else {