Skip to content

Commit 2242f81

Browse files
committed
Fix typo in variable name
1 parent 9f80224 commit 2242f81

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

includes/db.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function get_snippets_table_name( $multisite = null ) {
4444

4545
/* If multisite is not active, always return the site-wide table name */
4646
if ( ! is_multisite() ) {
47-
$multisire = false;
47+
$multisite = false;
4848
}
4949

5050
/* Retrieve the table name from $wpdb depending on the above conditionals */
@@ -115,12 +115,18 @@ function create_code_snippets_table( $table_name ) {
115115
/* Create the database table */
116116

117117
$sql = "CREATE TABLE $table_name (
118-
id bigint(20) unsigned not null auto_increment primary key,
118+
id bigint(20) unsigned not null auto_increment,
119119
name tinytext not null,
120120
description text,
121121
code longtext not null,
122122
tags longtext,
123+
<<<<<<< Updated upstream
123124
active tinyint(1) not null default 0
125+
=======
126+
scope tinyint(1) default 0,
127+
active tinyint(1) not null default 0,
128+
primary key(id)
129+
>>>>>>> Stashed changes
124130
) {$charset_collate};";
125131

126132
dbDelta( $sql );

0 commit comments

Comments
 (0)