Summary: | Fix a bug that cannot unhide a platform. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | dewei_zhu | ||||
Component: | New Bugs | Assignee: | dewei_zhu | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | dewei_zhu, rniwa, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
dewei_zhu
2019-10-28 14:26:03 PDT
Created attachment 382107 [details]
Patch
Comment on attachment 382107 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=382107&action=review > Websites/perf.webkit.org/public/admin/platforms.php:62 > - || update_field('platforms', 'platform', 'hidden')) > + || update_field('platforms', 'platform', 'hidden', Database::to_database_boolean(array_get($_POST, 'hidden')))) Can we add a helper function like update_boolean_field and do this work there? It's kind of silly to specify the updated field name twice. |