Skip to content

Commit

Permalink
handle js phpunserialize not working with closures
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Dec 6, 2019
1 parent f587989 commit 9c3a75a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"/app.js": "/app.js?id=f41217b645f8cd9ffacc",
"/app.js": "/app.js?id=dbc6b1d1957be6dae833",
"/app.css": "/app.css?id=b95d548aba488172f4b4",
"/app-dark.css": "/app-dark.css?id=b5b064c2f5a4b673a1c5"
}
3 changes: 2 additions & 1 deletion resources/js/screens/failedJobs/job.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@
* @returns {string}
*/
prettyPrintJob(data) {
return data.command ? phpunserialize(data.command) : data;
return data.command && !data.command.includes('CallQueuedClosure')
? phpunserialize(data.command) : data;
}
}
}
Expand Down

0 comments on commit 9c3a75a

Please sign in to comment.