Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

check_order_by_in_table_joins()

Parameters

ColumnTypeDefaultDescription
$order_by

Location

include/search_functions.php lines 3213 to 3221

Definition

 
function check_order_by_in_table_joins($order_by)
    {
    global 
$lang;

    if (
substr($order_by,0,5)=="field" && !in_array(substr($order_by,5),get_resource_table_joins()))
        {
        exit(
$lang['error_invalid_input'] . ":- <pre>order_by : " escape($order_by) . "</pre>");
        }
    }

This article was last updated 27th April 2024 15:05 Europe/London time based on the source file dated 25th April 2024 17:25 Europe/London time.