Skip to content
Commit 48e5c41f authored by Benjamin Melançon's avatar Benjamin Melançon
Browse files

Better fix for PHP warning about arrays and objects when showing page callback.

Passing to htmlspecialchars caused the error.  Prevented by flattening such
objects before attempting to print them in the show page callback function.
Additionally, outputs arrays and objects below with krumo if it is present.

Abstracts the logic of flattening to a new function, xray_flatten_argument().
parent 4fe8e183
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment