Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

MultiSites Plugin API: String typecast does not invoke magical __toString method for PHP < 5.2.0 #2953

Closed
peterbo opened this Issue · 1 comment

1 participant

@peterbo
Collaborator

In PHP Version < 5.2.0, a String-typecast of an object does not invoke its magic toString methods and returns only the ID of the Object. Reported in http://forum.piwik.org/read.php?5,85638,85880#msg-85880. Piwik then fails with an Exception.

@peterbo
Collaborator

(In [5867]) Fixes #2953, manually invoke object's toString()-Method instead of typecasting it.

@peterbo peterbo added this to the 1.7.x - Piwik 1.7.1 milestone
@peterbo peterbo self-assigned this
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.