phpdevshell team mailing list archive
-
phpdevshell team
-
Mailing list archive
-
Message #00467
[Bug 767248] Re: function tagList($name, $object, $target = null) broken
OK I found the bug, I'll fix it.
--
You received this bug notification because you are a member of
PHPDevShell, which is subscribed to PHPDevShell.
https://bugs.launchpad.net/bugs/767248
Title:
function tagList($name, $object, $target = null) broken
Status in Open Source PHP RAD Framework with UI.:
New
Bug description:
Their seems to be a broken method in
function tagList($name, $object, $target = null)
If I pass only values $this->tagList(null, 'role', 13); the returned
value is always empty.
I do however expect the problem lies in the queryclass, where this is not correctly assembled:
if (!empty($object)) $this->addWhere("tagObject = '%s'");
if (!empty($name)) $this->addWhere("tagName = '%s'");
if (!empty($target)) $this->addWhere("tagTarget = '%s'");
return parent::extraBuild($parameters);
References