mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-02 03:22:50 +02:00
[NBM] Step 4: Screen NBM is available
o Add news parameters o Add file functions_notification_by_mail.inc.php in order to use in future, these functions on php file of subscribe/unsubscribe o Write a little html help file + improve mass_update in order to used binary fields (used collate and SHOW COLUMNS FROM) git-svn-id: http://piwigo.org/svn/trunk@1105 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -743,7 +743,7 @@ UPDATE '.$tablename.'
|
||||
{
|
||||
// creation of the temporary table
|
||||
$query = '
|
||||
DESCRIBE '.$tablename.'
|
||||
SHOW FULL COLUMNS FROM '.$tablename.'
|
||||
;';
|
||||
$result = pwg_query($query);
|
||||
$columns = array();
|
||||
@@ -762,6 +762,10 @@ DESCRIBE '.$tablename.'
|
||||
{
|
||||
$column.= " default '".$row['Default']."'";
|
||||
}
|
||||
if (isset($row['Collation']))
|
||||
{
|
||||
$column.= " collate '".$row['Collation']."'";
|
||||
}
|
||||
array_push($columns, $column);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user