Minor
This commit is contained in:
parent
02a9e3b783
commit
ff1132f565
|
|
@ -261,7 +261,7 @@ if(!$logged_in) {
|
|||
$mysqli->query($sql) or die('Erreur SQL !<br />'.$sql.'<br />'.$mysqli->error);
|
||||
$id = $mysqli->insert_id;
|
||||
foreach(array('version','office-part','mode','mode_var','commentary','initial','transcriber','gabc','gabc_verses','tex_verses') as $k) {
|
||||
if($mypost[$k] > '') {
|
||||
if($mypost[$k] > '' && $mypost[$k] != "(c4)") {
|
||||
$sql = 'UPDATE '.db('chants').' SET `'.$k.'` = "'.$mysqli->real_escape_string($mypost[$k]).'" WHERE `id` = '.$id;
|
||||
$mysqli->query($sql) or die('Erreur SQL !<br />'.$sql.'<br />'.$mysqli->error);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
include('include/db.php');
|
||||
|
||||
$title = 'TODO';
|
||||
$title = 'Missing scores';
|
||||
include('include/header.php');
|
||||
echo "<h2>$title</h2>\n";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue