ecrire/action/editer_objet.php 1 location
|
@@ 87-90 (lines=4) @@
|
| 84 |
|
$table_sql = table_objet_sql($objet); |
| 85 |
|
$trouver_table = charger_fonction('trouver_table', 'base'); |
| 86 |
|
$desc = $trouver_table($table_sql); |
| 87 |
|
if (!$desc or !isset($desc['field'])) { |
| 88 |
|
spip_log("Objet $objet inconnu dans objet_modifier", _LOG_ERREUR); |
| 89 |
|
|
| 90 |
|
return _L("Erreur objet $objet inconnu"); |
| 91 |
|
} |
| 92 |
|
include_spip('inc/modifier'); |
| 93 |
|
|
ecrire/req/sqlite_generique.php 1 location
|
@@ 2228-2231 (lines=4) @@
|
| 2225 |
|
$meme_table = ($table_origine == $table_destination); |
| 2226 |
|
|
| 2227 |
|
$def_origine = sql_showtable($table_origine, false, $serveur); |
| 2228 |
|
if (!$def_origine or !isset($def_origine['field'])) { |
| 2229 |
|
spip_log("Alter table impossible sur $table_origine : table non trouvee", 'sqlite' . _LOG_ERREUR); |
| 2230 |
|
|
| 2231 |
|
return false; |
| 2232 |
|
} |
| 2233 |
|
|
| 2234 |
|
|