feat: Add link parameter to topic_save method in BackendSites for enhanced topic management

This commit is contained in:
2025-05-13 21:50:14 +02:00
parent 3c1bc9af66
commit cce4ac8410
2 changed files with 4 additions and 2 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[ 'temat' ], $values[ 'data_publikacji' ], $values[ 'opublikowany' ], $values[ 'zaakceptowany' ]
(int)$values[ 'id' ], $values[ 'strona' ], $values[ 'kategoria' ], $values[ 'kategoria_id' ], $values['link'], $values[ 'temat' ], $values[ 'data_publikacji' ], $values[ 'opublikowany' ], $values[ 'zaakceptowany' ]
);
if ( $id )