Fix for Enabling Image View count extension causes fatal error.
This commit is contained in:
parent
18b94a801d
commit
bf49c7ce19
@ -45,7 +45,7 @@ class image_view_counter extends Extension {
|
|||||||
// if the sql table doesn't exist yet, create it
|
// if the sql table doesn't exist yet, create it
|
||||||
if($config->get_bool("image_viewcounter_installed") == false) { //todo
|
if($config->get_bool("image_viewcounter_installed") == false) { //todo
|
||||||
$database->create_table("image_views","
|
$database->create_table("image_views","
|
||||||
id bigint(20) SCORE_AIPK,
|
id SCORE_AIPK,
|
||||||
image_id INTEGER NOT NULL,
|
image_id INTEGER NOT NULL,
|
||||||
user_id INTEGER NOT NULL,
|
user_id INTEGER NOT NULL,
|
||||||
timestamp INTEGER NOT NULL,
|
timestamp INTEGER NOT NULL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user