6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/10/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#124] bug in javascript call when filtering based on keyword
*
Your Email Address
*
Spam protection
Enter the letters below:
..___. __ .___.__ | | / `[__ [__) \__| | \__.| [__)
Comment
> When trying to call an ad with a javascript call to.. > > http://i-pt.securesites.com/midas/ad.php?d=js&k=KEYWORD > > > > returns errors: > > Notice: Undefined variable: keyword in > /usr/local/etc/httpd/vhosts/horde-cvs/midas/lib/Campaigns.php on line > 115 > > > > Fatal error: Call to a member function on a non-object in > /usr/local/etc/httpd/vhosts/horde-cvs/midas/lib/Campaigns.php on line > 118 > > > > > > Error 1 is fixed by changing > > /* Split up all the keywords into an array consisting only of > > * unique keywords. */ > > - $target_words = array_unique(preg_split('|\s+|', $keyword)); > > + $target_words = array_unique(preg_split('|\s+|', > $target_words)); > > } > > > > $avail_words = $this->_campaigns->getKeywords('active'); > > > > > > Error 2 > > I have tried to follow the code and cannot find anything. So was > hoping if someone else could cast an eye on this. > > > > Thanks, > > tim.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers