From 0f1d271a044698733a0f49544625f648b343d8fd Mon Sep 17 00:00:00 2001 From: Ethan Clevenger Date: Tue, 9 Jan 2024 10:24:47 -0800 Subject: [PATCH] Swap string for explicit class. --- includes/class.options.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class.options.php b/includes/class.options.php index f481ab3..f862f92 100644 --- a/includes/class.options.php +++ b/includes/class.options.php @@ -498,7 +498,7 @@ function get_key() { function &add( $id, $properties = array(), $update = false ) { // Create item $args = func_get_args(); - $ret = call_user_func_array( array( 'parent', 'add' ), $args ); + $ret = call_user_func_array( array( parent::class, 'add' ), $args ); return $ret; }