Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX Status not correct in public ticket list #31922

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

fappels
Copy link
Contributor

@fappels fappels commented Nov 15, 2024

No description provided.

@@ -702,7 +702,10 @@
// Statut
if (!empty($arrayfields['t.fk_statut']['checked'])) {
print '<td class="nowraponall">';
$object->fk_statut = $obj->fk_statut;
$object->status = $obj->fk_statut;
if (getDolGlobalString('TICKET_SHOW_PROGRESSION')) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not having the set all the time ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid missing object property exception because progress not set in $obj if show progress to public disabled.

@eldy eldy added Discussion Some questions or discussions are opened and wait answers of author or other people to be processed Event: Devcamp 2024 Nancy labels Nov 15, 2024
@eldy eldy merged commit 54891e8 into Dolibarr:20.0 Nov 16, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Some questions or discussions are opened and wait answers of author or other people to be processed Event: Devcamp 2024 Nancy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants