[LON-CAPA-cvs] cvs: loncom /interface loncoursedata.pm

albertel lon-capa-cvs@mail.lon-capa.org
Sun, 05 Feb 2006 18:49:47 -0000


albertel		Sun Feb  5 13:49:47 2006 EDT

  Modified files:              
    /loncom/interface	loncoursedata.pm 
  Log:
  - style police
  
  
Index: loncom/interface/loncoursedata.pm
diff -u loncom/interface/loncoursedata.pm:1.152 loncom/interface/loncoursedata.pm:1.153
--- loncom/interface/loncoursedata.pm:1.152	Sat Feb  4 15:03:30 2006
+++ loncom/interface/loncoursedata.pm	Sun Feb  5 13:49:47 2006
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncoursedata.pm,v 1.152 2006/02/04 20:03:30 bowersj2 Exp $
+# $Id: loncoursedata.pm,v 1.153 2006/02/05 18:49:47 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1873,8 +1873,9 @@
     my ($dbh,$request)=@_;
 #    &Apache::lonnet::logthis($request);
     my $sth = $dbh->prepare($request);
-    if (!$sth)
-    { die $dbh->errstr . " SQL: $request"; }
+    if (!$sth) {
+	die($dbh->errstr . " SQL: $request");
+    }
     $sth->execute();
     my $row = $sth->fetchrow_arrayref();
     if (ref($row) eq 'ARRAY' && scalar(@$row)>0) {