Revision: 2493
          https://sourceforge.net/p/mrbs/code/2493/
Author:   cimorrison
Date:     2012-10-12 19:08:08 +0000 (Fri, 12 Oct 2012)
Log Message:
-----------
Added some error handling

Modified Paths:
--------------
    mrbs/branches/improved_repeat_interface/web/mrbs_sql.inc

Modified: mrbs/branches/improved_repeat_interface/web/mrbs_sql.inc
===================================================================
--- mrbs/branches/improved_repeat_interface/web/mrbs_sql.inc    2012-10-12 
17:19:00 UTC (rev 2492)
+++ mrbs/branches/improved_repeat_interface/web/mrbs_sql.inc    2012-10-12 
19:08:08 UTC (rev 2493)
@@ -813,7 +813,8 @@
 
       // Unknown repeat option
       default:
-        return;
+        trigger_error("Unknown repeat type, E_USER_NOTICE");
+        break;
     }
   }
   
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to