Welcome Guest, Not a member yet? Register   Sign In
ar_orderby has changed to qb_orderby
#1

When checking to see if a db->order_by has been set

If ( ! count( $this->db->ar_orderby ) ) { /* */ }

php notice message Undefined property: CI_DB_mysqli_driver::$ar_orderby

Looking through I see it has been changed to qb_orderby

when running

If ( ! count( $this->db->qb_orderby ) ) { /* */ }

we get error message

Fatal error: Cannot access protected property CI_DB_mysqli_driver::$qb_orderby

Any clues how we can add a conditional statement to see if an order_by has been set ??
Most things broken in our house was done by nobody, the rest was my fault anyway Huh
Reply


Messages In This Thread
ar_orderby has changed to qb_orderby - by dollardad - 02-06-2015, 03:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB