Page MenuHomePhorge

D25155.1737342494.diff
No OneTemporary

D25155.1737342494.diff

diff --git a/src/applications/dashboard/controller/PhabricatorDashboardQueryPanelInstallController.php b/src/applications/dashboard/controller/PhabricatorDashboardQueryPanelInstallController.php
--- a/src/applications/dashboard/controller/PhabricatorDashboardQueryPanelInstallController.php
+++ b/src/applications/dashboard/controller/PhabricatorDashboardQueryPanelInstallController.php
@@ -13,12 +13,12 @@
$e_name = true;
$v_engine = $request->getStr('engine');
- if (!strlen($v_engine)) {
+ if (!phutil_nonempty_string($v_engine)) {
$v_engine = $request->getURIData('engineKey');
}
$v_query = $request->getStr('query');
- if (!strlen($v_query)) {
+ if (!phutil_nonempty_string($v_query)) {
$v_query = $request->getURIData('queryKey');
}

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 20, 03:08 (2 d, 15 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1131934
Default Alt Text
D25155.1737342494.diff (797 B)

Event Timeline