diff options
Diffstat (limited to 'include/ws_functions.inc.php')
-rw-r--r-- | include/ws_functions.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php index 4a9208905..b3b90a027 100644 --- a/include/ws_functions.inc.php +++ b/include/ws_functions.inc.php @@ -1247,7 +1247,7 @@ SELECT array($insert) ); - $image_id = pwg_db_insert_id(); + $image_id = pwg_db_insert_id(IMAGES_TABLE); // let's add links between the image and the categories if (isset($params['categories'])) |