DataObjects/Office.php
authoredward <edward@roojs.com>
Wed, 20 Jul 2016 06:58:46 +0000 (14:58 +0800)
committeredward <edward@roojs.com>
Wed, 20 Jul 2016 06:58:46 +0000 (14:58 +0800)
DataObjects/Office.php

index 75d47c2..2fa7c77 100644 (file)
@@ -53,6 +53,7 @@ class Pman_Core_DataObjects_Office extends DB_DataObject
     
     function beforeDelete($dependants_array, $roo)
     {
+        print_R(count($dependants_array));exit;
         if (count($dependants_array) != 1) {
             //$roo->jerr("more than one dependant type....");
             return true; // standard error message.