PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB_DataObject_FormBuilder » Bug #1699

Notice: Undefined property _triple/_crossLinks

Details

Submitted2004-06-22 07:39 UTC
Fromtobias dot nix at web dot de
Assignedjustinpatrin
StatusClosed
PackageDB_DataObject_FormBuilder
PHP VersionIrrelevant
OSdebian
Roadmaps(Not assigned)

Comments

[2004-06-22 07:39 UTC] tobias dot nix at web dot de

Description:
------------
There is a count on undefined variables
$this->_do->_tripleLinks & $this->_do->_crossLinks

628c628,629
< if (count($this->_do->_tripleLinks) > 0) {
---
> if (isset($this->_do->_tripleLinks))
> if (count($this->_do->_tripleLinks) > 0) {
739c740,741
< if (count($this->_do->_crossLinks) > 0) {
---
> if (isset($this->_do->_crossLinks))
> if (count($this->_do->_crossLinks) > 0) {

Expected result:
----------------
no notification

[2004-06-22 10:25 UTC] tobias dot nix at web dot de

And some more notification errors:

1461c1463,1464
< if (count($this->_do->_tripleLinks) > 0) {
---
> if (isset($this->_do->_tripleLinks))
> if (count($this->_do->_tripleLinks) > 0) {
1516c1519
<
---
> if (isset($this->_do->_crossLinks))