Ticket #401 (closed Bug: fixed)

Opened 5 months ago

Last modified 5 months ago

Forge library __toString() returns error

Reported by: neovive Assigned to: zombor
Priority: minor Milestone: 2.2
Component: Modules:Forge Version: SVN HEAD
Keywords: Cc:
SVN Revision (if applicable):

Description

If you try to echo a Forge object directly it returns the following error:

Method Forge::toString() must return a string value

Solution:

in Forge.php

public function __toString()
{
    return (string) $this->render();
}

Change History

02/14/08 17:47:33 changed by zombor

  • owner changed from Shadowhand to zombor.

02/14/08 17:47:52 changed by zombor

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in r2045.

02/21/08 20:14:07 changed by Shadowhand

  • milestone changed from 2.1.2 to 2.2.

Depends on r2022, which cannot be merged into a point release.