We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c21c45f commit 2a50fc6Copy full SHA for 2a50fc6
public_html/lists/admin/editattributes.php
@@ -62,7 +62,7 @@
62
<?php
63
64
if (isset($_POST['addnew'])) {
65
- $items = explode("\n", $_POST['itemlist']);
+ $items = explode("\r\n", $_POST['itemlist']);
66
$query = sprintf('select max(listorder) as listorder from %s', $table);
67
$maxitem = Sql_Fetch_Row_Query($query);
68
if (!Sql_Affected_Rows() || !is_numeric($maxitem[0])) {
0 commit comments