[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13104] class.uitemplate.inc
From: |
Saul |
Subject: |
[Fmsystem-commits] [13104] class.uitemplate.inc |
Date: |
Tue, 28 Apr 2015 22:04:25 +0000 |
Revision: 13104
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13104
Author: psaul
Date: 2015-04-28 22:04:24 +0000 (Tue, 28 Apr 2015)
Log Message:
-----------
class.uitemplate.inc
Modified Paths:
--------------
branches/dev-syncromind/property/inc/class.uitemplate.inc.php
Modified: branches/dev-syncromind/property/inc/class.uitemplate.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uitemplate.inc.php
2015-04-28 21:46:12 UTC (rev 13103)
+++ branches/dev-syncromind/property/inc/class.uitemplate.inc.php
2015-04-28 22:04:24 UTC (rev 13104)
@@ -474,15 +474,15 @@
$template_id = phpgw::get_var('template_id', 'int');
-// if($delete && $hour_id &&
phpgw::get_var('phpgw_return_as') == 'json')
-// {
-// $receipt =
$this->bo->delete_hour($hour_id,$template_id);
-// return "hour ".$hour_id." ".lang("has been
deleted");
-// }
-// else
-// {
-// $receipt = array();
-// }
+ if($delete && $hour_id)
+ {
+ $receipt =
$this->bo->delete_hour($hour_id,$template_id);
+ return "hour ".$hour_id." ".lang("has been
deleted");
+ }
+ else
+ {
+ $receipt = array();
+ }
if(phpgw::get_var('phpgw_return_as') == 'json')
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13104] class.uitemplate.inc,
Saul <=