mathiasverraes / jdump

J!Dump is a very easy to use debugging extension for Joomla developers and template designers. Download links below.
http://twitter.com/mathiasverraes
43 stars 25 forks source link

Database query overwrite #11

Open yanncharlou opened 13 years ago

yanncharlou commented 13 years ago

Using of dump for the first time overwrite the current JDatabase query.

Example :

$this->_db->setQuery($query); dump($var;'myVar'); $this->_db->query($query); $item = $this->_db->loadObject();

Item returned is an object regarding com_dump row in joomla database. Maybe loaded by Joomla Core for initialise plugin and component.

Workaround : Use dump() at least one time before.