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
|
@@ 2324-2327 (lines=4) @@
|
| 2321 |
|
$meme_table = ($table_origine == $table_destination); |
| 2322 |
|
|
| 2323 |
|
$def_origine = sql_showtable($table_origine, false, $serveur); |
| 2324 |
|
if (!$def_origine or !isset($def_origine['field'])) { |
| 2325 |
|
spip_log("Alter table impossible sur $table_origine : table non trouvee", 'sqlite' . _LOG_ERREUR); |
| 2326 |
|
|
| 2327 |
|
return false; |
| 2328 |
|
} |
| 2329 |
|
|
| 2330 |
|
|