Page MenuHomePhorge

D25345.1734769682.diff
No OneTemporary

D25345.1734769682.diff

diff --git a/src/applications/dashboard/controller/dashboard/PhabricatorDashboardAdjustController.php b/src/applications/dashboard/controller/dashboard/PhabricatorDashboardAdjustController.php
--- a/src/applications/dashboard/controller/dashboard/PhabricatorDashboardAdjustController.php
+++ b/src/applications/dashboard/controller/dashboard/PhabricatorDashboardAdjustController.php
@@ -42,7 +42,7 @@
}
$column_key = $request->getStr('columnKey');
- if (strlen($column_key)) {
+ if (phutil_nonempty_string($column_key)) {
$columns = $ref_list->getColumns();
if (!isset($columns[$column_key])) {
return new Aphront404Response();
@@ -52,7 +52,7 @@
$after_ref = null;
$after_key = $request->getStr('afterKey');
- if (strlen($after_key)) {
+ if (phutil_nonempty_string($after_key)) {
$after_ref = $ref_list->getPanelRef($after_key);
if (!$after_ref) {
return new Aphront404Response();

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 08:28 (16 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1021189
Default Alt Text
D25345.1734769682.diff (964 B)

Event Timeline