[Rt-commit] r8407 - in rtir/branches/2.3-EXPERIMENTAL: .
thayes at bestpractical.com
thayes at bestpractical.com
Mon Aug 6 15:22:46 EDT 2007
Author: thayes
Date: Mon Aug 6 15:22:46 2007
New Revision: 8407
Modified:
rtir/branches/2.3-EXPERIMENTAL/ (props changed)
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html
Log:
r8606 at toth: toth | 2007-08-06 15:22:15 -0400
* Fixed bug
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html Mon Aug 6 15:22:46 2007
@@ -288,9 +288,11 @@
}
}
if( $inc_obj ) {
- $Id = $ChildObj->id if $ChildObj;
- my $lock = $ChildObj->Unlock('Take');
- $Duration = time() - $lock->Content->{'Timestamp'} if $lock;
+ if($ChildObj) {
+ $Id = $ChildObj->id;
+ my $lock = $ChildObj->Unlock('Take');
+ $Duration = time() - $lock->Content->{'Timestamp'} if $lock;
+ }
return $m->comp('Display.html', id => $inc_obj->id, Duration => $Duration, Id => $Id, results => \@results );
}
}
More information about the Rt-commit
mailing list