PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Structures » Tree » Bug #349

tree inserting parent as quoted string

Details

Submitted2003-12-04 00:49 UTC
Fromkonrek at gmx dot net
Assignedcain
StatusNo Feedback
PackageTree
PHP Version4.3.3
OSlinux
Roadmaps(Not assigned)

Comments

[2003-12-04 00:49 UTC] konrek at gmx dot net

Description:
------------
Tree produces on add:

INSERT INTO browsing_config (id,name,stepstyle,attributes,site,parent,l,r) VALUES (2,'alle Resourcen','s','a:2:{s:6:\"tables\";s:10:\"Resource R\";s:4:\"cond\";s:14:\"R.MD_State=\''p\''\";}','cms-journal','1',2,3)

because using $this->dbh->quote($value); in add(), qoute()
gives qoutes int ! with sybase this doesnt work!

Mysql is not so picky. It's pitty that most of this stuff here works only fine with Mysql....so dependend people keep to be dependend :-\ ...

I made the add-method work for sybase, so if somebody is interested send a mail....

So probably DB error!?