quote -1 value in SQL.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-04-15 05:53:54 +00:00
parent 3877acb7e3
commit bb47a88b57
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());