notice: Undefined variable: pbrk

ecarter - October 6, 2008 - 19:53
Project:Tiny Tiny MCE
Version:6.x-1.12
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

The following error notice is generated in Drupal 6.4 when you visit the "Administer > Site Configuration > Site information" page.

notice: Undefined variable: pbrk in D:\CVS-DRUPAL-6\sites\memorydevelopment\modules\tinytinymce\tinytinymce.module on line 169.

To resolve, I just declared the $pbrk variable at the top of the function using:
static $pbrk

Just FYI

#1

Steve Lockwood - October 17, 2008 - 08:07
Status:active» fixed

Thanks Eric - it's worth recording these things in case other people come up against the same problem.

Steve

#2

Anonymous (not verified) - October 31, 2008 - 08:12
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

#3

kndr - June 4, 2009 - 10:37
Version:6.x-1.9» 6.x-1.12
Status:closed» needs review

A little patch.

AttachmentSize
pbrk.patch 421 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.