Hey,

Yaron already fixed this bug. Checking out from trunk should solve your problem.

Cheers

--
Jeroen De Dauw
* http://blog.bn2vs.com
* http://wiki.bn2vs.com
Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65!
--


On 7 June 2010 04:22, Laurent Alquier <laurent@alquier.org> wrote:
One of my pages throws a long list of warnings like these :

Notice: Uninitialized string offset: -1 in C:\Data\htdocs\smw\extensions\SemanticMediaWiki\includes\SMW_DataValue.php on line 684

Starting at line 680:

    public function isNumeric() {
        $sig = $this->getSignature();
        $valueIndex = $this->getValueIndex();
       
        return $sig { $valueIndex } == 'n' || $sig { $valueIndex } == 'f';
    }

For some reason, it looks like $valueIndex returns -1. Not sure why yet but I will check that out,

--
- Laurent Alquier
http://www.linfa.net

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel