feat: Add 'wygeneruj_temat' parameter to topic_save method and update related templates for enhanced topic management

This commit is contained in:
2025-05-17 23:54:47 +02:00
parent cce4ac8410
commit e0fcbabacf
5 changed files with 24 additions and 8 deletions

View File

@@ -45,7 +45,7 @@ class BackendSites
$values = \S::json_to_array( \S::get( 'values' ) );
$id = \factory\BackendSites::topic_save(
(int)$values[ 'id' ], $values[ 'strona' ], $values[ 'kategoria' ], $values[ 'kategoria_id' ], $values['link'], $values[ 'temat' ], $values[ 'data_publikacji' ], $values[ 'opublikowany' ], $values[ 'zaakceptowany' ]
(int)$values[ 'id' ], $values[ 'strona' ], $values[ 'kategoria' ], $values[ 'kategoria_id' ], $values['link'], $values[ 'temat' ], $values['wygeneruj_temat'], $values[ 'data_publikacji' ], $values[ 'opublikowany' ], $values[ 'zaakceptowany' ]
);
if ( $id )