mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Change parameters to allow nullable types in th_order_by
This commit is contained in:
@@ -638,7 +638,7 @@ if (!function_exists('th_order_by')) {
|
|||||||
*
|
*
|
||||||
* @return string The generated HTML for the table header cell with ordering functionality.
|
* @return string The generated HTML for the table header cell with ordering functionality.
|
||||||
*/
|
*/
|
||||||
function th_order_by(string $field_name, string $column_title, string $order_by, string $order, string $app_uuid = '', string $css = '', string $http_get_params = '', string $description = ''): string {
|
function th_order_by(string $field_name, string $column_title, string $order_by, string $order, ?string $app_uuid = '', ?string $css = '', ?string $http_get_params = '', ?string $description = ''): string {
|
||||||
global $text;
|
global $text;
|
||||||
if (is_uuid($app_uuid) > 0) {
|
if (is_uuid($app_uuid) > 0) {
|
||||||
$app_uuid = "&app_uuid=" . urlencode($app_uuid);
|
$app_uuid = "&app_uuid=" . urlencode($app_uuid);
|
||||||
|
|||||||
Reference in New Issue
Block a user