|
@@ 422-424 (lines=3) @@
|
| 419 |
|
$changes_text = []; |
| 420 |
|
foreach ($this->_changedParams as $fullColName => $oldValue) { |
| 421 |
|
$colName = substr($fullColName, strlen($class::colPrefix())); |
| 422 |
|
if (isset($class::$cols[$colName]['logging']) && !$class::$cols[$colName]['logging']) { |
| 423 |
|
continue; |
| 424 |
|
} |
| 425 |
|
$oldValueText = $oldValue; |
| 426 |
|
if (isset($class::$cols[$colName]) && $class::$cols[$colName]['type'] === 'select') { |
| 427 |
|
switch ($class::$cols[$colName]['source']) { |
|
@@ 468-470 (lines=3) @@
|
| 465 |
|
$activity->save(); |
| 466 |
|
foreach ($this->_changedParams as $fullColName => $oldValue) { |
| 467 |
|
$colName = substr($fullColName, strlen($class::colPrefix())); |
| 468 |
|
if (isset($class::$cols[$colName]['logging']) && !$class::$cols[$colName]['logging']) { |
| 469 |
|
continue; |
| 470 |
|
} |
| 471 |
|
$colName = substr($fullColName, strlen($class::colPrefix())); |
| 472 |
|
$change = new Dashboard\Activity\Change([ |
| 473 |
|
'activity_id' => $activity->id, |