|
@@ 428-430 (lines=3) @@
|
| 425 |
|
$changes_text = []; |
| 426 |
|
foreach ($this->_changedParams as $fullColName => $oldValue) { |
| 427 |
|
$colName = substr($fullColName, strlen($class::colPrefix())); |
| 428 |
|
if (isset($class::$cols[$colName]['logging']) && !$class::$cols[$colName]['logging']) { |
| 429 |
|
continue; |
| 430 |
|
} |
| 431 |
|
$oldValueText = $oldValue; |
| 432 |
|
if (isset($class::$cols[$colName]) && $class::$cols[$colName]['type'] === 'select') { |
| 433 |
|
switch ($class::$cols[$colName]['source']) { |
|
@@ 474-476 (lines=3) @@
|
| 471 |
|
$activity->save(); |
| 472 |
|
foreach ($this->_changedParams as $fullColName => $oldValue) { |
| 473 |
|
$colName = substr($fullColName, strlen($class::colPrefix())); |
| 474 |
|
if (isset($class::$cols[$colName]['logging']) && !$class::$cols[$colName]['logging']) { |
| 475 |
|
continue; |
| 476 |
|
} |
| 477 |
|
$colName = substr($fullColName, strlen($class::colPrefix())); |
| 478 |
|
$change = new Dashboard\Activity\Change([ |
| 479 |
|
'activity_id' => $activity->id, |