Skip to content

Commit

Permalink
Fix Qbe casting error
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
  • Loading branch information
laps15 committed Jun 21, 2018
1 parent c032147 commit 326151a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/classes/Database/Qbe.php
Original file line number Diff line number Diff line change
Expand Up @@ -1891,7 +1891,7 @@ private function _getSavedSearchesField()
}
$html_output .= '</select>';
$html_output .= '<input type="text" name="searchName" id="searchName" '
. 'value="' . htmlspecialchars($currentSearchName) . '" />';
. 'value="' . htmlspecialchars((string)$currentSearchName) . '" />';
$html_output .= '<input type="hidden" name="action" id="action" value="" />';
$html_output .= '<input type="submit" name="saveSearch" id="saveSearch" '
. 'value="' . __('Create bookmark') . '" />';
Expand Down

0 comments on commit 326151a

Please sign in to comment.