Skip to content

Commit

Permalink
Merge pull request #119 from internetarchive/schema-rewrtie
Browse files Browse the repository at this point in the history
Update actionfunctions.php
  • Loading branch information
cyberpower678 committed Jan 16, 2024
2 parents 034342b + e9e78fa commit aab4fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/html/Includes/actionfunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1649,7 +1649,7 @@ function changeURLData( &$jsonOut = false ) {
return false;
}

$updateSQL = "UPDATE " . DB . "." . DB . ".externallinks_global SET ";
$updateSQL = "UPDATE " . DB . ".externallinks_global SET ";
foreach( $toChange as $column => $value ) {
$updateSQL .= "`$column` = " . ( is_null( $value ) ? "NULL" : "'$value'" ) . ",";
}
Expand Down

0 comments on commit aab4fd6

Please sign in to comment.