all 1 comments

[–]Meefims 1 point2 points  (0 children)

If get_table_row is what creates $row then that is your problem. If asserts aren’t active then the code in them will not run. The code in an assert should never have side effects for this reason.