Closed (fixed)
Project:
Flag
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2008 at 22:35 UTC
Updated:
11 Jul 2008 at 04:04 UTC
I just installed the latest -dev version of Flag and after I hit Save the page went blank.
[26-Jun-2008 18:32:40] PHP Fatal error: Call to undefined function db_num_rows() in /Applications/MAMP/htdocs/d6test/sites/all/modules/flag/flag.views_bookmark.inc on line 15
Comments
Comment #1
mooffie commentedYep, db_num_rows() doesn't exist in D6.
Nate, is it ok that I replace that code with `if (db_table_exists('views_bookmarks') {...}` ?
Comment #2
mooffie commentedOK, I fixed that. It was critical.
http://drupal.org/cvs?commit=123815
http://drupal.org/cvs?commit=123816
http://drupal.org/cvs?commit=123817
I made D5 and D6 the same code. BTW, the flag_views_bookmark_update_prepare() function didn't use {} around the table name so that was another bug squashed.
(Fayna, it takes several hours for a new 'dev' package to be repackaged.)
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.