diff --git a/lib/get_data.lib.php b/lib/get_data.lib.php index 4e6b8bc49..4de6b353e 100644 --- a/lib/get_data.lib.php +++ b/lib/get_data.lib.php @@ -145,6 +145,8 @@ function get_content_by_field($write_table, $type='bbs', $where_field='', $where { global $g5, $g5_object; + static $cache = array(); + $order_key = 'wr_id'; if( $type === 'content' ){