We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f7be5f commit be8f8d9Copy full SHA for be8f8d9
Core/Lib/ExtendedController/PanelController.php
@@ -240,7 +240,7 @@ protected function editAction()
240
$this->views[$this->active]->processFormData($this->request, 'edit');
241
242
// has PK value been changed?
243
- $this->views[$this->active]->newCode = $this->views[$this->active]->model->primaryColumnValue();
+ $this->views[$this->active]->newCode = (string)$this->views[$this->active]->model->primaryColumnValue();
244
if ($code !== $this->views[$this->active]->newCode && $this->views[$this->active]->model->test()) {
245
$pkColumn = $this->views[$this->active]->model->primaryColumn();
246
$this->views[$this->active]->model->{$pkColumn} = $code;
0 commit comments