Skip to content

Commit 1136cf8

Browse files
authored
fix: Kanban board crash due to misnamed DB field (#97)
1 parent 1120200 commit 1136cf8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lbplanner/classes/model/kanbanentry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function __construct(int $id, int $userid, int $cmid, int $column) {
7070
* @return kanbanentry the kanbanentry obj
7171
*/
7272
public static function from_obj(\stdClass $obj): self {
73-
return new self($obj->id, $obj->userid, $obj->cmid, $obj->column);
73+
return new self($obj->id, $obj->userid, $obj->cmid, $obj->selectedcolumn);
7474
}
7575

7676
/**

0 commit comments

Comments
 (0)