projects
/
phppgadmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c2b60b
)
fix a php notice when altering a col with a type without length
author
ioguix
<ioguix>
Sat, 15 Sep 2007 13:53:05 +0000
(13:53 +0000)
committer
ioguix
<ioguix>
Sat, 15 Sep 2007 13:53:05 +0000
(13:53 +0000)
colproperties.php
patch
|
blob
|
blame
|
history
diff --git
a/colproperties.php
b/colproperties.php
index 0ff013027669679e1c72dbd06cb268a9fa3acf91..66d5c0657b1ac30fdc3b1799e1a4c30173e638c9 100644
(file)
--- a/
colproperties.php
+++ b/
colproperties.php
@@
-154,7
+154,7
@@
doProperties($lang['strcolneedsname']);
return;
}
-
+ if (!isset($_REQUEST['length'])) $_REQUEST['length'] = '';
$status = $data->alterColumn($_REQUEST['table'], $_REQUEST['column'], $_REQUEST['field'],
isset($_REQUEST['notnull']), isset($_REQUEST['oldnotnull']),
$_REQUEST['default'], $_REQUEST['olddefault'],