With Schema installed on 6, I get:

i18n_blocks.type is type int but its default 0 is PHP type string

as an error on the /admin/build/schema page.

Seems weird, as I would have imagined that PHP with its implicit typing would treat 0 as int

CommentFileSizeAuthor
#1 i18nblocks.zip1.5 KBpolarbear128

Comments

polarbear128’s picture

StatusFileSize
new1.5 KB

Ok,
I wasn't sure what the protocol was with this, so I've fixed it myself...as it is a very easy fix.
Not providing a patch as I don't have the tools at the moment.
the attached file is a replacement for i18nblocks.install in the i18nblocks folder.

The modified line is line 49, change
'default' => '0',
to
'default' => 0,

Can someone put this back into the 6.x-1.0-beta2 codebase?

cheers
Jason

jose reyero’s picture

Status: Active » Fixed

Thanks, fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.