Closed (fixed)
Project:
Drupal for Facebook
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 Oct 2009 at 03:40 UTC
Updated:
10 Nov 2009 at 20:50 UTC
I mean for example - fb_user.module line 202
watchdog('fb_user', t("Created new ... %app" . dprint_r(array(...), 1),
array('!username' => theme('username', $user), '%app' => $fb_app->label)));
replace with
watchdog('fb_user', t("Created new ... %app!debug_info",
array('!username' => theme('username', $user),
'!debug_info' => (function_exists('dprint_r') ? dprint_r(array('session_name' => session_name(), 'session_id' => session_id()), 1) : ''),
'%app' => $fb_app->label)));
Comments
Comment #1
Dave Cohen commentedThat got in there by accident.
Keep submmitting issues if you find more calls like that. Thanks.
Comment #2
Dave Cohen commentedRemoved the dprint_r() calls.