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:
Matt Mullenweg 2004-04-15 05:53:54 +00:00
parent a87b51c94c
commit b2840feb9c
1 changed files with 1 additions and 1 deletions

View File

@ -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());