From d0f5b28835d80fc9a0f7bdb61e88e32b98a911c0 Mon Sep 17 00:00:00 2001 From: Mark Slee Date: Wed, 28 Nov 2007 04:29:25 +0000 Subject: [PATCH] Fix typo in Thrift trunk Summary: $classl => $class git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665376 13f79535-47bb-0310-9956-ffa450edef68 --- lib/php/src/autoload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/php/src/autoload.php b/lib/php/src/autoload.php index 43b24703..dc6133c3 100644 --- a/lib/php/src/autoload.php +++ b/lib/php/src/autoload.php @@ -29,7 +29,7 @@ $GLOBALS['AUTOLOAD_HOOKS'] = array(); if (!function_exists('__autoload')) { function __autoload($class) { global $THRIFT_AUTOLOAD; - $classl = strtolower($classl); + $classl = strtolower($class); if (isset($THRIFT_AUTOLOAD[$classl])) { include_once $GLOBALS['THRIFT_ROOT'].'/packages/'.$THRIFT_AUTOLOAD[$classl]; } else if (!empty($GLOBALS['AUTOLOAD_HOOKS'])) { -- 2.17.1