Page 1 of 1

I found a bug!

Posted: 09 Oct 2008, 09:20
by dax702
I was racking my brain trying to figure out how to make the height of the editor change as 400 px is rather big. I tried doing it from the CSS with no success. The I opened:

views/phocaguestbook/view.html.php

Line 44 and 45 was:

Code: Select all

$tmpl['editorwidth'] = $params->get( 'editor_width', 400 );
$tmpl['editorheight'] = $params->get( 'editor_width', 200 );
But it should be:
$tmpl['editorwidth'] = $params->get( 'editor_width', 400 );
$tmpl['editorheight'] = $params->get( 'editor_height', 200 );

This is why when I changed the params, nothing happened. As soon as I changed the width to height, it worked!

Re: I found a bug!

Posted: 09 Oct 2008, 12:57
by Jan
Hi, thank you for this information, it is fixed in 1.3.1 stable