Permalink
Browse files

Merge pull request #6 from billmn/develop

Fixed typo in array name
  • Loading branch information...
2 parents 21ce27b + acb4a82 commit 86784f164b6cf19a8739214497f78173e5caab9b Frank Bardon Jr committed Aug 10, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 classes/dbconfig.php
View
@@ -249,7 +249,7 @@ public static function set($item, $value)
if (static::$autosave)
{
- return static::save($parts[0], static::$items[$part[0]]);
+ return static::save($parts[0], static::$items[$parts[0]]);
}
return true;
@@ -308,7 +308,7 @@ private static function _get_by_key($key)
private static function _install_db()
{
$rows = \DBUtil::create_table(static::$table, array(
- 'id' => array('constraint' => 11, 'type' => 'int', 'auto_increment' => true),
+ 'id' => array('constraint' => 11, 'type' => 'int', 'auto_increment' => true, 'unsigned' => true),
'key' => array('constraint' => 30, 'type' => 'varchar', 'null' => false),
'value' => array('type' => 'text', 'null' => false),
), array('id'), true);

0 comments on commit 86784f1

Please sign in to comment.