librefm-commits
[Top][All Lists]
Advanced

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

[Librefm-commits] [1420] stop showing too much


From: Matt Lee
Subject: [Librefm-commits] [1420] stop showing too much
Date: Fri, 08 May 2009 21:21:44 +0000

Revision: 1420
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1420
Author:   mattl
Date:     2009-05-08 21:21:43 +0000 (Fri, 08 May 2009)
Log Message:
-----------
stop showing too much

Modified Paths:
--------------
    branches/stable/nixtape/data/Group.php

Modified: branches/stable/nixtape/data/Group.php
===================================================================
--- branches/stable/nixtape/data/Group.php      2009-05-08 16:30:39 UTC (rev 
1419)
+++ branches/stable/nixtape/data/Group.php      2009-05-08 21:21:43 UTC (rev 
1420)
@@ -54,8 +54,9 @@
                        $res = $mdb2->query('SELECT * FROM Groups WHERE 
lower(groupname) = ' . $mdb2->quote(strtolower($name), 'text'));
                        
                        if(PEAR::isError($res)) {
-                               header("Content-Type: text/plain");
-                               print_r($res);
+                               //header("Content-Type: text/plain");
+                               //print_r($res);
+                               echo "error in group.php";
                                exit;
                        }
 
@@ -172,8 +173,9 @@
                
                if(PEAR::isError($res))
                {
-                       header("Content-Type: text/plain");
-                       print_r($res);
+                       //header("Content-Type: text/plain");
+                       //print_r($res);
+                       echo "error in group.php";
                        exit;
                }
 
@@ -212,7 +214,8 @@
                
                if(PEAR::isError($res)) {
                        header("Content-Type: text/plain");
-                       print_r($res);
+                       //print_r($res);
+                       echo "error";
                        exit;
                }
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]