quote -1 value in SQL.
git-svn-id: https://develop.svn.wordpress.org/trunk@1073 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a87b51c94c
commit
b2840feb9c
@ -106,7 +106,7 @@ if (!$got_cats) {
|
||||
" text_before_link varchar(128) not null default '<li>', " .
|
||||
" text_after_link varchar(128) not null default '<br />'," .
|
||||
" text_after_all varchar(128) not null default '</li>', " .
|
||||
" list_limit int not null default -1, " .
|
||||
" list_limit int not null default '-1', " .
|
||||
" PRIMARY KEY (cat_id) ".
|
||||
") ";
|
||||
$result = mysql_query($sql) or print ("Can't create the table '$tablelinkcategories' in the database.<br />" . $sql . "<br />" . mysql_error());
|
||||
|
Loading…
Reference in New Issue
Block a user