Thanks Paul. I've committed this to CVS.
On Tue, 2004-09-21 at 15:24 +1000, Paul R. Jackson wrote:
> I am running the latest version from CVS. If you go to create a survey and
> then press cancel you get the following message:
>
> "Fatal error: Call to undefined function: row_count() in
> /work/www/survey/admin/include/where/cancel.inc on line 28"
>
> Obviously the row_count() function should exist somewhere but it doesn't, do
> a "find . -exec grep {}\;" and its nowhere to be found.
>
> I'm assuming that it should just be count() rather than row_count().
>
> So line 28 in cancel.inc becomes:
>
> if(count($result) < 1) {
>
> [was: if(row_count($result) < 1) {]
>
> Seems to work for me. Does that all make sense?
>
> Paul
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Paul R. Jackson
> Experimental Programmer
>
> School of Psychology
> University of Queensland
> E:pa...@ps...
> P:3365-6713
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
--
mcg
-------------------------------------
The IT Lab (http://www.itlab.musc.edu)
|