Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #6 from billmn/develop

Fixed typo in array name
  • Loading branch information...
commit 86784f164b6cf19a8739214497f78173e5caab9b 2 parents 21ce27b + acb4a82
Frank Bardon Jr nerdsrescueme authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 classes/dbconfig.php
4 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);
Please sign in to comment.
Something went wrong with that request. Please try again.