1. PHP / Говнокод #1798

    +157.4

    1. 1
    2. 2
    return $this->db_handler->table_rows_to_array($this->history_table_prefix . $account_table_name, '', array_merge($field_list ? array_map(create_function('$field', 'return "' . ($prepend_table_name ? make_singular($account_table_name) . '_' : '') . '" . $field;'), $field_list) : array_map(create_function('$field', 'return "' . ($prepend_table_name ? make_singular($account_table_name) . '_' : '') . '" . $field;'), ($this->db_handler->field_exists($manage_object->table_name, 'created') ? array_merge(array_keys($manage_object->all_field_list), array('created')) : array_keys($manage_object->all_field_list))), array('hist_state_start_time', 'hist_state_start_user_id')),
    false, array(make_singular($account_table_name) . '_' . 'id' => $account_id), 'AND', 'id DESC');

    Yeah, Baby, I can do complex things and stuff ...

    Запостил: core-ix, 09 Сентября 2009

    Комментарии (10) RSS

    Добавить комментарий