* Adjust codes.

This commit is contained in:
daitingting
2018-03-30 15:59:24 +08:00
parent 2fa7aa63b3
commit e6aaf894a6
+1 -1
View File
@@ -100,7 +100,7 @@ class story extends control
$action = $bugID == 0 ? 'Opened' : 'Frombug';
$extra = $bugID == 0 ? '' : $bugID;
/* Record related action, for example FromFeedback. */
if($fromObjectID)
if(isset($fromObjectID))
{
$action = $fromObjectAction;
$extra = $fromObjectID;