mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-01-16 21:08:34 +01:00
Fix TypeError: data.__meta is undefined (#655)
This commit is contained in:
parent
40d2d7e986
commit
7715ec5136
@ -934,6 +934,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
||||
* @return {String} Dataset's id
|
||||
*/
|
||||
addDataSet: function(data, id, suffix, show) {
|
||||
if (!data || !data.__meta) return;
|
||||
if (this.isIframe) {
|
||||
window.top.phpdebugbar.addDataSet(data, id, '(iframe)' + (suffix || ''), show);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user