summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-04-06 10:02:44 +0100
committerlsces <lester@lsces.co.uk>2026-04-06 10:02:44 +0100
commitdf1fdc5fc2f777b8d9b54107fa0ab4555a630698 (patch)
tree78771c08affc1d356e646d35e8c88a120d5ab10e
parentb0fa2a2a4988c802a3e1936c3ae8b44f27759965 (diff)
downloadliberty-df1fdc5fc2f777b8d9b54107fa0ab4555a630698.tar.gz
liberty-df1fdc5fc2f777b8d9b54107fa0ab4555a630698.tar.bz2
liberty-df1fdc5fc2f777b8d9b54107fa0ab4555a630698.zip
Tidy a default setting hole
-rwxr-xr-xincludes/classes/LibertyContent.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/classes/LibertyContent.php b/includes/classes/LibertyContent.php
index 8d2c825..82d4ac8 100755
--- a/includes/classes/LibertyContent.php
+++ b/includes/classes/LibertyContent.php
@@ -3403,6 +3403,9 @@ class LibertyContent extends LibertyBase implements BitCacheable {
if( !empty( $this->mInfo['title'] ) ) {
$pParamHash['action_log']['title'] = $this->mInfo['title'];
}
+ if( empty($pParamHash['action_log']['user_id']) && !empty( $pParamHash['user_id'] ) ) {
+ $pParamHash['action_log']['user_id'] = $pParamHash['user_id'];
+ }
$log_message = '';
if( empty( $pParamHash['action_log']['log_message'] ) && !empty( $this->mLogs ) ) {
foreach( $this->mLogs as $key => $msg ) {